Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type Config struct {
- Server Server `json:"server"`
- Postgres Postgres `json:"postgres"`
- }
- type Server struct {
- Host string `json:"host"`
- Port string `json:"port"`
- }
- type Postgres struct {
- Host string `json:"host"`
- User string `json:"user"`
- Password string `json:"password"`
- DB string `json:"db"`
- }
Add Comment
Please, Sign In to add comment