mirror of
https://github.com/securego/gosec.git
synced 2024-12-28 13:35:52 +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"
|
|
)
|
|
`))
|