From c55c30ec197b4bb40510da3a7e07016ba554604c Mon Sep 17 00:00:00 2001 From: A_D Date: Fri, 16 Nov 2018 22:34:52 +0200 Subject: [PATCH] added struct tags to config --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 49c00b8..176ac6a 100644 --- a/config.go +++ b/config.go @@ -8,8 +8,8 @@ import ( type Config struct { Secret string - BindHost string - BindPort string + BindHost string `json:"bind_host"` + BindPort string `json:"bind_port"` } func getConfig() Config {