Yet Another Keepalived Syntax Checker in Golang.
Yet Another Keepalived syntax checker in golang.
gokc -f /etc/keepalived/keepalived.conf
gokc: the configuration file /etc/keepalived/keepalived.conf syntax is ok
$ brew tap yuuki/gokc
$ brew install gokc
$ go get github.com/yuuki/gokc
$ go install github.com/yuuki/gokc
go test ./...
command and confirm that it passesgofmt -s