mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
17 lines
253 B
Go
17 lines
253 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/github/codeql-go/extractor/configurebaseline"
|
|
)
|
|
|
|
func main() {
|
|
jsonResult, err := configurebaseline.GetConfigBaselineAsJSON(".")
|
|
if err != nil {
|
|
panic(err)
|
|
} else {
|
|
fmt.Println(string(jsonResult))
|
|
}
|
|
}
|