Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.07 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.07 KB

integration unit-tests codecov Go Report Card PkgGoDev

Installation

go get -u github.com/toel-app/biteship

Usage

package main

import (
	"fmt"
	"github.com/toel-app/biteship"
	"log"
)

func main() {
	b := biteship.New(
		biteship.WithSecret("somesecret"),
		biteship.WithUrl("https://api.biteship.com"),
	)

	response, err := b.GetCouriers()
	if err != nil {
		log.Panic(err)
	}

	fmt.Println(response.Couriers)
}