| @@ -26,6 +26,10 @@ type AppConfig struct { | |||
| Pass string `json:Pass` | |||
| Schema string `json:Schema` | |||
| } `json:DB` | |||
| Server struct { | |||
| Host string `json:Host` | |||
| Port string `json:Port` | |||
| } `json:Server` | |||
| } | |||
| var Config AppConfig | |||
| @@ -16,5 +16,9 @@ | |||
| "User": "sp", | |||
| "Pass": "sp", | |||
| "Schema": "leanwork_pay" | |||
| }, | |||
| "Server": { | |||
| "Host":"localhost", | |||
| "Port":"8080" | |||
| } | |||
| } | |||
| @@ -16,5 +16,9 @@ | |||
| "User": "sp", | |||
| "Pass": "sp", | |||
| "Schema": "leanwork_pay" | |||
| } | |||
| }, | |||
| "Server": { | |||
| "Host":"localhost", | |||
| "Port":"8080" | |||
| } | |||
| } | |||