Skip to content
GOlang server-side library enabling the creation of custom management dashboards
Branch: master
Clone or download

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.

You can’t perform that action at this time.