GOlang server-side library enabling the creation of custom management dashboards
Switch branches/tags
Nothing to show
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.
json
.gitignore
.travis.yml
Device.go
Device_test.go
Errors.go
LICENSE
Parameters.go
Placeholder.go
Plan.go
Plan_test.go
Product.go
ProductCategory.go
ProductCategory_test.go
ProductOption.go
ProductOption_test.go
Product_test.go
README.md
Request.go
Response.go
SMS.go
SMS_test.go
Session.go
Session_test.go
User.go

README.md

#Hologram-Go-Library

Go Report Card Build Status

Introduction

This is a library built for using our REST APIs.

Installation

One nice thing about Go is how easy it is to work with packages. First, run:

go get github.com/hologram-io/hologram-go

All you need to do after that is add this snippet of code in your source:

import (
	<your other imports go here>
	"github.com/hologram-io/hologram-go"
	<your other imports go here>
)

in your main folder.

Unit Tests

Yay! you're ready for some good testing. All of the test cases are located in the top test directory. Mocked data (in JSON) are in the test/json directory. To run a unit test, just type:

go test <whichever test here>

Support

Please feel free to reach out to us if you have any questions/concerns.

Credits

Special thanks to the amazing work that @kurrik put in his twittergo library. The Errors and Parse interface/functions were taken from there and modified for our needs.