Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveConfig ¶ added in v0.5.0
Types ¶
type CodeFormat ¶ added in v0.4.5
type CodeFormat int
コミットメッセージの形式の列挙型
const ( NormalFormat CodeFormat = iota EmojiFormat PrefixFormat )
type Config ¶
type Config struct { ChatGptApiKey string `json:"chatGptApiKey"` UseLanguage int `json:"UseLanguage"` CommitFormat int `json:"CommitFormat"` AISource int `json:"AISource"` GithubToken string `json:"GithubToken"` }
func ReadConfig ¶ added in v0.4.5
func (*Config) Config2PbVars ¶ added in v0.4.5
func (c *Config) Config2PbVars() (pb.CodeFormatType, pb.LanguageType)
func (*Config) GptRequestLocation ¶ added in v0.5.2
func (c *Config) GptRequestLocation() GptRequestLocation
func (*Config) WithGithubToken ¶ added in v0.5.2
func (Config) WriteConfig ¶ added in v0.5.2
type GptRequestLocation ¶ added in v0.5.0
type GptRequestLocation int
ChatGPTのAPIを叩く場所
const ( Server GptRequestLocation = iota Client Qdrant Gemini )
type PullRequest ¶ added in v0.5.2
type PullRequests ¶ added in v0.5.2
type PullRequests []*PullRequest
Click to show internal directories.
Click to hide internal directories.