fix & format
This commit is contained in:
parent
b5b48fe224
commit
2a7cc5d14f
20
main.go
20
main.go
@ -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*",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user