Skip to content

anna-oake/go-staytus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang bindings for the Staytus API

GoDoc

I'm very new to Go, so I'll be happy if you make some Pull Requests and help me with tests.

Read the Staytus description and API docs to understand how it works.

Example

package main

import (
	"fmt"
	"github.com/aprosvetova/go-staytus"
	"os"
)

func main() {
	api, err := staytus.New("https://status.yourcompany.com", "YOUR_TOKEN", "YOUR_SECRET")
	if err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
	issues, err := api.GetIssues()
	if err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
	fmt.Println(issues)
}

Contact me

If you have any questions about my shitty code, feel free to contact me by Telegram (@koteeq). I speak English and Russian.

About

Golang bindings for the Staytus API https://github.com/adamcooke/staytus

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages