added omitempty route struct

This commit is contained in:
Pedro Nasser
2016-08-15 20:05:38 -03:00
parent ddc34e7699
commit 43ab8da867

View File

@@ -21,9 +21,9 @@ var (
type Routes []*Route
type Route struct {
AppName string `json:"appname"`
Path string `json:"path"`
Image string `json:"image"`
AppName string `json:"appname,omitempty"`
Path string `json:"path,omitempty"`
Image string `json:"image,omitempty"`
Headers http.Header `json:"headers,omitempty"`
}