configfile

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigFile

type ConfigFile struct {
	Debug bool
}

func NewConfigFile

func NewConfigFile(debug bool) *ConfigFile

func (*ConfigFile) ConfigDir

func (cf *ConfigFile) ConfigDir() string

func (*ConfigFile) ConfigDirExists

func (cf *ConfigFile) ConfigDirExists() bool

func (*ConfigFile) ConfigFile

func (cf *ConfigFile) ConfigFile() string

func (*ConfigFile) ConfigFileExists

func (cf *ConfigFile) ConfigFileExists() bool

func (*ConfigFile) GitHubToken

func (cf *ConfigFile) GitHubToken() string

func (*ConfigFile) GitHubUsername

func (cf *ConfigFile) GitHubUsername() string

func (*ConfigFile) GitLabToken

func (cf *ConfigFile) GitLabToken() string

func (*ConfigFile) GitLabUsername

func (cf *ConfigFile) GitLabUsername() string

type ConfigFileInterface added in v0.0.4

type ConfigFileInterface interface {
	ConfigDir() string
	ConfigDirExists() bool
	ConfigFile() string
	ConfigFileExists() bool
	GitHubUsername() string
	GitLabUsername() string
	GitHubToken() string
	GitLabToken() string
}

Jump to

Keyboard shortcuts

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