Initial Commit

This commit is contained in:
2023-06-09 10:48:46 -07:00
commit 8890eea322
14 changed files with 1418 additions and 0 deletions

27
internal/config/config.go Normal file
View File

@@ -0,0 +1,27 @@
package config
type Config struct {
Git Git `toml:"git"`
Webhook Webhook `toml:"webhook"`
}
type Git struct {
RepoDir string `toml:"repoDir"`
RepoURL string `toml:"repoURL"`
Commit Commit `toml:"commit"`
Credentials Credentials `toml:"credentials"`
}
type Credentials struct {
Username string
Password string
}
type Commit struct {
Name string `toml:"name"`
Email string `toml:"email"`
}
type Webhook struct {
PasswordHash string `toml:"pwd_hash"`
}