go-cbsd is a Go client library for managing CBSD.
go get -u github.com/yarlson/go-cbsd
package main
import (
"fmt"
"github.com/yarlson/go-cbsd"
)
func main() {
c := cbsd.NewCBSD()
bHyves, err := c.BHyve.List()
if err != nil {
panic(err)
}
for _, bHyve := range bHyves {
fmt.Println(bHyve.JName)
}
}
The project is under heavy active development, feel free to create a fork and submit a pull request.