Throttle API for toggle
$ go get -u github.com/dougEfresh/gtoggl-api
$ go get -u github.com/dougEfresh/gtoggl
import "github.com/dougEfresh/gtoggl"
import "github.com/dougEfresh/gtoggl-api/gtproject"
func main() {
thc, err := gtoggl.NewClient("token")
...
tc, err := gtproject.NewClient(thc)
...
project,err := tc.Get(1)
if err == nil {
panic(err)
}
}
The gtoggl clients provides throttling
See gtoggl cli
See godoc for more examples
go 1.x
$ go test -v ./...
All PRs are welcome
- Douglas Chimento - dougEfresh
This project is licensed under the Apache License - see the LICENSE file for details