fix & format
This commit is contained in:
parent
b5b48fe224
commit
2a7cc5d14f
20
main.go
20
main.go
@ -13,21 +13,21 @@ var (
|
|||||||
Version = "dev"
|
Version = "dev"
|
||||||
)
|
)
|
||||||
|
|
||||||
struct Cache {
|
type Cache struct {
|
||||||
token string `json:token`
|
token string `json:token`
|
||||||
baseURL string `json:baseURL`
|
baseURL string `json:baseURL`
|
||||||
orgName string `json:orgName`
|
orgName string `json:orgName`
|
||||||
repoExclude string `json:repoExclude`
|
repoExclude string `json:repoExclude`
|
||||||
pullBaseBranch string `json:pullBaseBranch`
|
pullBaseBranch string `json:pullBaseBranch`
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// default values
|
// default values
|
||||||
var values = Cache {
|
var values = Cache{
|
||||||
token: "XXXXXXXXXXXXXXXXXX",
|
token: "XXXXXXXXXXXXXXXXXX",
|
||||||
baseURL: "https://inf-git.fh-rosenheim.de",
|
baseURL: "https://inf-git.fh-rosenheim.de",
|
||||||
orgName: "vv-inf-sose21",
|
orgName: "vv-inf-sose21",
|
||||||
repoExclude: "exclude*",
|
repoExclude: "exclude*",
|
||||||
pullBaseBranch: "devel*",
|
pullBaseBranch: "devel*",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user