xorpaul / g10k

my r10k fork in Go
Apache License 2.0
125 stars 50 forks source link

Deprecation warnings go 17.1 #187

Closed bkuebler closed 2 years ago

bkuebler commented 2 years ago

if i would run the build i got deprecation warnings with go17.1...


GO111MODULE=on go get golang.org/x/lint/golint && \
    golint *.go
go get: installing executables with 'go get' in module mode is deprecated.
    To adjust and download dependencies of the current module, use 'go get -d'.
    To install using requirements of the current module, use 'go install'.
    To install ignoring the current module, use 'go install' with a version,
    like 'go install example.com/cmd@latest'.
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.
go get: added golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
GO111MODULE=on go vet
go: inconsistent vendoring in /Users/bkuebler/Repositories/github.com/xorpaul/g10k:
    golang.org/x/lint@v0.0.0-20210508222113-6edffad5e616: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
make: *** [vet] Error 1