Add errcheck and fix unchecked errors

This commit is contained in:
Adrian Macneil 2015-11-27 14:27:44 -08:00
parent 913234a60d
commit c6aba53e51
7 changed files with 40 additions and 13 deletions

View file

@ -4,9 +4,10 @@ ENV GOPATH /go
ENV PATH /go/bin:$PATH
# install build dependencies
RUN apk add -U --no-progress go git ca-certificates
RUN apk add -U --no-progress alpine-sdk go
RUN go get \
github.com/golang/lint/golint \
github.com/kisielk/errcheck \
golang.org/x/tools/cmd/vet
# copy source files