#8 Finished the update I need to redo the call of these methods.

This commit is contained in:
Gorbunov Kirill Andreevich 2024-03-15 21:18:58 +03:00
parent eb2a21a1b1
commit 1c8df603b9
3 changed files with 11 additions and 0 deletions

View File

@ -11,6 +11,10 @@ buildcli:
cli:
go install git.unistack.org/unistack-org/pkgdash/cmd/pkgdashcli
.PHONY: buildcli
buildcli:
CGO_ENABLED=0 go build -o bin/app -mod=readonly git.unistack.org/unistack-org/pkgdash/cmd/pkgdashcli
.PHONY: test
test:
go test -v ./... -race -cover

1
go.mod
View File

@ -80,6 +80,7 @@ require (
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgtype v1.14.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jdx/go-netrc v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/lyft/protoc-gen-star/v2 v2.0.3 // indirect

View File

@ -34,3 +34,9 @@ func NewConfig() *Config {
UpdateOpt: &UpdateOpt{},
}
}
func NewConfig() *Config {
return &Config{
Source: &Source{},
}
}