gosec/cmd/tlsconfig/header_template.go
Cosmin Cojocar c6e10af40f Handle properly the gosec module version v2
Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
2020-04-06 09:06:23 -07:00

13 lines
185 B
Go

package main
import "text/template"
var generatedHeaderTmpl = template.Must(template.New("generated").Parse(`
package {{.}}
import (
"go/ast"
"github.com/securego/gosec/v2"
)
`))