fix & format

This commit is contained in:
6543 2021-05-05 11:26:10 +02:00
parent b5b48fe224
commit 2a7cc5d14f
Signed by: 6543
GPG Key ID: C99B82E40B027BAE
1 changed files with 10 additions and 10 deletions

20
main.go
View File

@ -13,21 +13,21 @@ var (
Version = "dev"
)

struct Cache {
token string `json:token`
baseURL string `json:baseURL`
orgName string `json:orgName`
repoExclude string `json:repoExclude`
type Cache struct {
token string `json:token`
baseURL string `json:baseURL`
orgName string `json:orgName`
repoExclude string `json:repoExclude`
pullBaseBranch string `json:pullBaseBranch`
}

func main() {
// default values
var values = Cache {
token: "XXXXXXXXXXXXXXXXXX",
baseURL: "https://inf-git.fh-rosenheim.de",
orgName: "vv-inf-sose21",
repoExclude: "exclude*",
var values = Cache{
token: "XXXXXXXXXXXXXXXXXX",
baseURL: "https://inf-git.fh-rosenheim.de",
orgName: "vv-inf-sose21",
repoExclude: "exclude*",
pullBaseBranch: "devel*",
}