core

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 8 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"`
	Project                  ConfigProject `mapstructure:"project"`
	// 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 ConfigProject added in v0.14.0

type ConfigProject struct {
	Url          string `mapstructure:"url"`
	TemplatePath string `mapstructure:"template_path"`
	AssetPath    string `mapstructure:"asset_path"`
}

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{}

type ViewModel added in v0.14.0

type ViewModel interface{}

Jump to

Keyboard shortcuts

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