To get the package, execute:
go get gopkg.in/ruffrey/nagios-parser.v1/parser
To import this package, add the following line to your code:
import "gopkg.in/ruffrey/nagios-parser.v1/parser"
For more details, see the API documentation.