Don't compile with current version of golint
- Lenguaje dominante
- Go
- Estrellas
- 88
- Forks
- 9
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
```gometalinter ./... \
--disable=gotype \
--disable=dupl \
--deadline=600s \
--enable=goimports \
--vendor \
--fast
config/config.go:141::warning: Potential file inclusion via variable,MEDIUM,HIGH (gosec)
config/config.go:174::warning: Errors unhandled.,LOW,HIGH (gosec)
config/config.go:175::warning: Errors unhandled.,LOW,HIGH (gosec)
config/config.go:212::warning: Errors unhandled.,LOW,HIGH (gosec)
config/config.go:220::warning: Errors unhandled.,LOW,HIGH (gosec)
config/config.go:229::warning: Errors unhandled.,LOW,HIGH (gosec)
log/sql/connection.go:86::warning: Errors unhandled.,LOW,HIGH (gosec)
Makefile:8: recipe for target 'lint' failed
make: *** [lint] Error 1
```
It help to add --disable=gosec to gometalinter parameters.
Example dockerfile to try to build:
```
FROM golang:1.11
ENV GOROOT /usr/local/go/
RUN mkdir -p /go/src/github.com/allegro/
RUN cd /go/src/github.com/allegro/ && git clone https://github.com/allegro/akubra.git
WORKDIR /go/src/github.com/allegro/akubra
RUN make build
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.