mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
* example for checking go doc tests * add analyzer test and action * get metadata step * install revgrep * fix for ci * add revgrep to go.mod * clarify how analysistest works
11 lines
189 B
Go
11 lines
189 B
Go
package main
|
|
|
|
import (
|
|
"github.com/hashicorp/vault/tools/godoctests/pkg/analyzer"
|
|
"golang.org/x/tools/go/analysis/singlechecker"
|
|
)
|
|
|
|
func main() {
|
|
singlechecker.Main(analyzer.Analyzer)
|
|
}
|