Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
client.go

README.md

Open Source API Client

godoc

This package is used to connect and query the Open Source API. This uses the internal data modeling of the API to preform requests over the line.

Example

package main

import (
	"github.com/opensourceorg/api/client"
	"log"
)

func ohshit(err error) {
	if err != nil {
		panic(err)
	}
}

func main() {
	license, err := client.Get("Apache-2.0")
	ohshit(err)
	log.Printf("%s\n", license.Name)
}