A library to help interact with GitKraken Glo Boards API
API Endpoints:
This package supports the following v1 Glo Boards API endpoints
Boards
- Create Board
- Edit Board
- Delete Board
- Get Boards
- Get Boards by ID
Columns
- Create column
- Edit column
- Delete column
Cards
- Create Card
- Edit Card
- Delete Card
- Get Cards
- Get Card By ID
- Get Cards By Column ID
Attachments
- Create Attachment
- Get Attachments
Comments
- Create Comment
- Edit Comment
- Delete Comment
- Get Comments By Card ID
User
- Get User
go get github.com/jackmcguire1/go-glo
package main
import (
"log"
"os"
"github.com/jackmcguire1/go-glo"
)
var token string
func init() {
token = os.Getenv("TOKEN")
}
func main() {
client := glo.NewClient(token)
user, err := client.GetUser()
if err != nil {
log.Fatal(err)
}
log.Println(user.ID, user.Name, user.Username, user.Email)
}
To develop go-glo
or interact with its source code in any meaningful way, be
sure you have the following installed:
You will need to activate Modules for your version of Go, generally
by invoking go
with the support GO111MODULE=on
environment variable set.
Please refer to Git Kraken Documentation for any further reading.
The source code for go-glo is released under the MIT License.
All donations are appreciated!