Documentation
¶
Overview ¶
Example ¶
token := os.Getenv("GITHUB_TOKEN")
client := unwrap1(github.GetGoGithubClient(token))
repo := github.Context.Repo()
info, _ := unwrap2(client.Repositories.Get(context.Background(), repo.Owner, repo.Repo))
fmt.Printf("info.GetFullName()=%s\n", info.GetFullName())
fmt.Printf("info.GetDescription()=%s\n", info.GetDescription())
Output: info.GetFullName()=jcbhmr/actions-toolkit.go info.GetDescription()=🐿️ GitHub Actions toolkit for your Go-based GitHub Actions
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Context = newContext()
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.