Skip to content

rrreeeyyy/gokc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gokc

Latest Version

Yet Another Keepalived syntax checker in golang.

Usage

gokc -f /etc/keepalived/keepalived.conf
gokc: the configuration file /etc/keepalived/keepalived.conf syntax is ok

Installation

Homebrew

$ brew tap yuuki1/gokc
$ brew install gokc

Download binary from GitHub Releases

Releases・yuuki1/gokc - GitHub

Build from source

 $ go get github.com/yuuki1/gokc
 $ go install github.com/yuuki1/gokc/...

Release

$ vim ./version.go
$ make cross
$ ghr -u yuuki1 -p 2 $VERSION snapshot/

Contribution

  1. Fork (https://github.com/y_uuki/gokc/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create new Pull Request

License

The MIT License.

Author

y_uuki

About

Yet Another Keepalived Syntax Checker in golang.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 51.4%
  • Yacc 44.3%
  • Makefile 4.3%