github

package
v0.0.108 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Release

type Release struct {
	ID  int64  `json:"id"`
	Tag string `json:"tag_name"`
}

type ReleaseClient

type ReleaseClient struct {
	Token string
	Owner string
	Repo  string
}

func NewReleaseClient

func NewReleaseClient(token, owner, repo string) *ReleaseClient

func (*ReleaseClient) GetReleaseByTag

func (c *ReleaseClient) GetReleaseByTag(tag string) (*Release, error)

func (*ReleaseClient) UploadReleaseAsset

func (c *ReleaseClient) UploadReleaseAsset(releaseID int64, filePath string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL