github

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(logger *slog.Logger, config config.GithubClientConfig) (*githubClient, error)

Types

type Organization

type Organization struct {
	ID           int64
	Name         string
	LastModified time.Time
}

func (*Organization) GetGroupID

func (o *Organization) GetGroupID() uint64

func (*Organization) GetGroupName added in v1.2.0

func (o *Organization) GetGroupName() string

func (*Organization) GetGroupPath added in v1.2.0

func (o *Organization) GetGroupPath() string

func (*Organization) GetLastModified added in v1.2.0

func (o *Organization) GetLastModified() time.Time

type Repository

type Repository struct {
	ID            int64
	Name          string
	Path          string
	LastModified  time.Time
	CloneURL      string
	DefaultBranch string
}

func (*Repository) GetCloneURL

func (r *Repository) GetCloneURL() string

func (*Repository) GetDefaultBranch

func (r *Repository) GetDefaultBranch() string

func (*Repository) GetLastModified added in v1.2.0

func (r *Repository) GetLastModified() time.Time

func (*Repository) GetRepositoryID

func (r *Repository) GetRepositoryID() uint64

func (*Repository) GetRepositoryName added in v1.2.0

func (r *Repository) GetRepositoryName() string

func (*Repository) GetRepositoryPath added in v1.2.0

func (r *Repository) GetRepositoryPath() string

type User

type User struct {
	ID           int64
	Name         string
	LastModified time.Time
}

func (*User) GetGroupID

func (u *User) GetGroupID() uint64

func (*User) GetGroupName added in v1.2.0

func (u *User) GetGroupName() string

func (*User) GetGroupPath added in v1.2.0

func (u *User) GetGroupPath() string

func (*User) GetLastModified added in v1.2.0

func (u *User) GetLastModified() time.Time

Jump to

Keyboard shortcuts

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