Versions in this module Expand all Collapse all v0 v0.1.0 Feb 29, 2024 Changes in this version + const ErrConfigDoesNotExistMsg + var ErrConfigDoesNotExist = errors.New("config does not exist") + var ErrUpdateSameValues = errors.New("called update config with existing values") + func Append(urlStr string, token string, remoteType rt.Type) error + func List() error + func Remove(config *Config, configIndex int, detailsIndex int) error + func Update(config *Config, configIndex int, detailsIndex int, url string, token string) error + func UpdateColors(c Colors, config *Config) error + func UpdateRemote() error + func VerifyTokens() error + type Colors struct + Blurred string + Border string + Focused string + func (c *Colors) CheckValidity() error + type Config struct + Colors Colors + Remotes []Remote + Version uint8 + func Load() (*Config, error) + func (config *Config) GetMatchingConfig(details []repository.Details) (*match.Match, string, error) + type Remote struct + Details []remote.Details + Type rt.Type + URL url.URL + func (r *Remote) ToMatch() (*match.Match, error) + func (r *Remote) ToMatchAtIndex(index int) (*match.Match, error)