Created
March 21, 2014 04:29
-
-
Save jayd3e/9679533 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Config struct { | |
DefaultApiUrl string | |
Remotes map[string]remote | |
} | |
type remote struct { | |
Name string | |
Url string | |
ApiUrl string | |
} | |
defaultConfigFileTemplate.Execute(fo, Config{ | |
DefaultApiUrl: "http://localhost:4001", | |
Remotes: []remote{ | |
Name: "production", | |
Url: "git@herokuapp.com:clusterflunk.git", | |
ApiUrl: "http://localhost:4001", | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment