Documentation
¶
Index ¶
- func DefaultDir() (string, error)
- func DefaultPath() (string, error)
- func ResolveAIKey(cfg *Config, flagKey string) string
- func ResolveToken(cfg *Config, flagToken string) string
- func ResolveWebDAVPassword(cfg *Config) string
- type AIConfig
- type Config
- type GenerateConfig
- type GitHubConfig
- type WebDAVConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDir ¶
func DefaultPath ¶
func ResolveAIKey ¶
func ResolveToken ¶
func ResolveWebDAVPassword ¶
Types ¶
type Config ¶
type Config struct {
GitHub GitHubConfig `yaml:"github"`
AI AIConfig `yaml:"ai"`
WebDAV WebDAVConfig `yaml:"webdav"`
Generate GenerateConfig `yaml:"generate"`
}
type GenerateConfig ¶
type GenerateConfig struct {
Sort string `yaml:"sort"`
}
type GitHubConfig ¶
Click to show internal directories.
Click to hide internal directories.