core

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LastUpdateCheckTimestamp time.Time `mapstructure:"last_update_check_timestamp"`
	// contains filtered or unexported fields
}
var Cfg *Config

func (*Config) GetCacheDir

func (c *Config) GetCacheDir() string

func (*Config) GetConfigDir

func (c *Config) GetConfigDir() string

func (*Config) GetDataDir

func (c *Config) GetDataDir() string

func (*Config) LoadConfig

func (c *Config) LoadConfig(filePath string) error

func (*Config) ResetLastUpdateCheckTimestamp added in v0.10.1

func (c *Config) ResetLastUpdateCheckTimestamp()

func (*Config) SaveConfig added in v0.10.0

func (c *Config) SaveConfig() error

type Controller added in v0.3.2

type Controller interface {
	Exec(cmd *cobra.Command, args []string) (err error)
}

type RunEFunc added in v0.3.2

type RunEFunc func(cmd *cobra.Command, args []string) (err error)

type Usecase added in v0.3.2

type Usecase interface{}

Jump to

Keyboard shortcuts

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