1
0
mirror of https://github.com/securego/gosec.git synced 2025-01-03 22:52:22 +02:00
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

14 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"
)
`))