mirror of
https://github.com/securego/gosec.git
synced 2024-12-26 20:45:53 +00:00
edb362fc9d
* Add a tool which generates the TLS rule configuration from Mozilla server side TLS configuration * Update README * Remove trailing space in README * Update dependencies * Fix the commends of the generated functions
13 lines
184 B
Go
13 lines
184 B
Go
package main
|
|
|
|
import "text/template"
|
|
|
|
var generatedHeaderTmpl = template.Must(template.New("generated").Parse(`
|
|
package {{.}}
|
|
|
|
import (
|
|
"go/ast"
|
|
|
|
"github.com/GoASTScanner/gas"
|
|
)
|
|
`))
|