1
0
mirror of https://github.com/securego/gosec.git synced 2025-07-09 00:45:40 +02:00

Append the package load errors to analyser's errors

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar
2019-04-30 16:57:32 +02:00
committed by Cosmin Cojocar
parent aac9b00845
commit 3e69a8c8a2
3 changed files with 68 additions and 24 deletions

View File

@ -1135,7 +1135,7 @@ func main() {
}`}, 1}}
// SampleCode601 - Go build tags
SampleCode601 = []CodeSample{{[]string{`
// +build test
// +build tag
package main
func main() {