Guest User

Untitled

a guest
Nov 20th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. config := Config{
  2. Server: struct {
  3. Host string `json:"host"`
  4. Port string `json:"port"`
  5. }{
  6. Host: "localhost",
  7. Port: "8080",
  8. },
  9. Postgres: struct {
  10. Host string `json:"host"`
  11. User string `json:"user"`
  12. Password string `json:"password"`
  13. DB string `json:"db"`
  14. }{
  15. Host: "localhost",
  16. User: "db_user",
  17. Password: "supersecret",
  18. DB: "my_db",
  19. },
  20. }
Add Comment
Please, Sign In to add comment