mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
added omitempty route struct
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user