This repository has been archived by the owner. It is now read-only.
GrowthForecast Client In Golang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
client.go
client_test.go
data.go
data_test.go

README.md

go-growthforecast-client

Build Status

Coverage Status

GrowthForecast Client In Golang

import (
    "log"
    gf "github.com/lestrrat/go-growthforecast-client"
)

func main() {
    client := gf.NewClient("http://gf.mycompany.com")
    err := client.Post("service/section/graph", &Graph{ Number: 1 })
    if err != nil {
        log.Printf("Failed to post to GrowthForecast: %s", err)
    }
}

Auto-Generated API Docs

http://godoc.org/github.com/lestrrat/go-growthforecast-client