Help us shape the future of Go! Take the 2026 Go Developer Survey

github

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(ctx context.Context, c *cache.Client, urlName string) (string, string, *types.Repo, bool, error)

func LoadWithConfig added in v0.9.5

func LoadWithConfig(ctx context.Context, _ *cache.Client, urlName string, config *Config) (string, string, *types.Repo, bool, error)

func LoaderForPrefix added in v0.9.5

func LoaderForPrefix(prefix string) func(context.Context, *cache.Client, string) (string, string, *types.Repo, bool, error)

Types

type Config added in v0.9.5

type Config struct {
	Prefix      string
	RepoURL     string
	DownloadURL string
	CommitURL   string
	AuthToken   string
}

func NewGithubEnterpriseConfig added in v0.9.5

func NewGithubEnterpriseConfig(prefix string) *Config

Jump to

Keyboard shortcuts

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