modulepackage
0.0.0-20200218062043-8f2f41ed6436
Repository: https://github.com/kenzo0107/go-backlog.git
Documentation: pkg.go.dev
# README
go-backlog
Backlog API Client for Golang.
Install
$ go get github.com/griffin-stewie/go-backlog
Usage
$ go run ./example/main.go
// Sample code
package main
import (
"log"
"net/url"
"os"
backlog "github.com/griffin-stewie/go-backlog"
)
func main() {
token := os.Getenv("BACKLOG_TOKEN")
if token == "" {
log.Fatalln("You need Backlog access token.")
}
URL, err := url.Parse("https://YOURSPACE.backlog.jp")
if err != nil {
log.Fatalf("ERROR: %s", err.Error())
}
client := backlog.NewClient(URL, token)
issues, err := client.Issues()
if err != nil {
log.Fatalf("ERROR: %s", err.Error())
}
log.Printf("issues: %#+v", issues)
}
# Packages
No description provided by the author
# Functions
NewClient returns Backlog HTTP Client.
# Constants
SortOrder enum.
IssueStatus enum.
SortOrder enum.
IssueStatus enum.
IssueStatus enum.
IssueStatus enum.
# Structs
ActivitiesOption represents.
Activity represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Assignee represents.
Attachment represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
BacklogError is error model +gen * slice:"Where,Count,SortBy,GroupBy[string],Select[string]".
BacklogErrorResponse is error model.
Category represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Change represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Client is.
Comment represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Content represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
CustomField represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
CustomFieldValue represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
DiskUsage represents.
DiskUsageDetail represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Issue represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Issues represents.
IssuesOption represents.
IssueType represents.
Notification represents.
NulabAccount represents.
Priority represents.
Project represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
ProjectsOption represents.
Resolution represents.
SharedFile represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Space represents.
SpaceNotification represents.
Star represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Status represents.
User represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
Version represents +gen * slice:"Where,Count,SortBy,GroupBy[string],GroupBy[int],GroupBy[bool],first,MaxBy,MinBy,Distinct,DistinctBy,Shuffle".
# Interfaces
HTTP interface of HTTP METHODS's methods.
# Type aliases
ActivitySlice is a slice of type *Activity.
AttachmentSlice is a slice of type *Attachment.
BacklogErrorSlice is a slice of type *BacklogError.
CategorySlice is a slice of type *Category.
ChangeSlice is a slice of type *Change.
ContentSlice is a slice of type *Content.
CustomFieldSlice is a slice of type *CustomField.
CustomFieldValueSlice is a slice of type *CustomFieldValue.
DiskUsageDetailSlice is a slice of type *DiskUsageDetail.
IssueSlice is a slice of type *Issue.
IssueStatus enum.
ProjectSlice is a slice of type *Project.
SharedFileSlice is a slice of type *SharedFile.
SortOrder enum.
StarSlice is a slice of type *Star.
UserSlice is a slice of type *User.
VersionSlice is a slice of type *Version.