Skip to content

Thinkei/employmenthero-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

main workflow

Go client for EmploymentHero REST API

This repository contains a Go package for the client-side components of the EmploymentHero APIs

Usage

import "github.com/Thinkei/employmenthero-go"

// Create a client instance
c, err := employmenthero.NewClient("clientID", "secretID", "refreshToken", "apiHost")

accessToken, err := c.GetAccessToken(context.Background())

How to Contribute

  • Create an issue to describe what you want to do = Fork a repository
  • Add/Fix something
  • Check that tests are passing
  • Create PR

Tests

  • Unit tests: go test -v ./...