Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .tool/lint
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ set -o pipefail

if [ ! $(command -v gometalinter) ]; then
go get -u github.com/alecthomas/gometalinter
gometalinter --install
GO111MODULE=off gometalinter --install
fi

for d in $(find . -type d -not -iwholename '*.git*' -a -not -iname '.tool' -a -not -iwholename '*vendor*'); do
gometalinter \
GO111MODULE=off gometalinter \
--exclude='error return value not checked.*(Close|Log|Print).*\(errcheck\)$' \
--exclude='.*_test\.go:.*error return value not checked.*\(errcheck\)$' \
--exclude='duplicate of.*_test.go.*\(dupl\)$' \
Expand Down
15 changes: 15 additions & 0 deletions specs-go/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module github.com/opencontainers/image-spec/specs-go

go 1.15

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/opencontainers/go-digest v1.0.0
github.com/pkg/errors v0.9.1
github.com/russross/blackfriday v1.6.0
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
github.com/xeipuuv/gojsonschema v1.2.0
go4.org v0.0.0-20201209231011-d4a079459e60
)

replace github.com/golang/lint => golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5
Loading