config

package
v0.0.0-...-f4ddfd7 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEnv

func LoadEnv() error

Types

type Config

type Config struct {
	GitHubToken string
}

func NewConfig

func NewConfig(c *cli.Context) (*Config, error)

func (*Config) GitHubClient

func (c *Config) GitHubClient(ctx context.Context, queryTimeout time.Duration) (context.CancelFunc, *githubv4.Client)

Jump to

Keyboard shortcuts

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