Guest User

Untitled

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