https://github.com/yarlson/go-cbsd
CBSD golang library
https://github.com/yarlson/go-cbsd
cbsd golang
Last synced: 2 months ago
JSON representation
CBSD golang library
- Host: GitHub
- URL: https://github.com/yarlson/go-cbsd
- Owner: yarlson
- License: bsd-2-clause
- Created: 2020-07-06T11:59:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-02T09:36:48.000Z (about 4 years ago)
- Last Synced: 2024-04-17T18:05:25.840Z (about 1 year ago)
- Topics: cbsd, golang
- Language: Go
- Homepage:
- Size: 32.2 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-cbsd
go-cbsd is a Go client library for managing [CBSD](https://github.com/cbsd/cbsd).
## Installation
```shell script
go get -u github.com/yarlson/go-cbsd
```## Example
```go
package mainimport (
"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.