Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetConfigPath ¶
func SetConfigPath(path string)
SetConfigPath updates the configuration file path
Types ¶
type Config ¶
type Config struct {
Provider string `json:"provider"`
APIKey string `json:"api_key"`
Model string `json:"model"`
URL string `json:"url"`
MaxLength int `json:"max_length"`
Temperature float64 `json:"temperature"`
Proxy string `json:"proxy"`
Language string `json:"language"`
Timeout int `json:"timeout"`
CommitType string `json:"commit_type"`
CustomConvention string `json:"custom_convention"`
UseGitmoji bool `json:"use_gitmoji"`
MaxRedirects int `json:"max_redirects"`
}
Config holds the main configuration structure for the gitc CLI tool
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a default config with fallback values
Click to show internal directories.
Click to hide internal directories.