config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobalConfigDir

func GlobalConfigDir() (string, error)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func Load

func Load() (*Config, error)

func (*Config) AllSettings added in v0.1.1

func (c *Config) AllSettings() map[string]interface{}

func (*Config) AuthMethod

func (c *Config) AuthMethod() string

func (*Config) DefaultMergeStrategy

func (c *Config) DefaultMergeStrategy() string

func (*Config) DefaultReviewers

func (c *Config) DefaultReviewers() []string

func (*Config) Get

func (c *Config) Get(key string) interface{}

func (*Config) GetString

func (c *Config) GetString(key string) string

func (*Config) OAuthClientID

func (c *Config) OAuthClientID() string

func (*Config) OAuthClientSecret

func (c *Config) OAuthClientSecret() string

func (*Config) RepoSlug

func (c *Config) RepoSlug() string

func (*Config) Set

func (c *Config) Set(key string, value interface{})

func (*Config) Workspace

func (c *Config) Workspace() string

func (*Config) WriteGlobal

func (c *Config) WriteGlobal() error

Jump to

Keyboard shortcuts

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