added json tag on routes

This commit is contained in:
A.Unger committed 2020-02-24 14:16:54 +01:00
1 parent 6b51e70ddc
commit 23f977f28e
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -158,7 +158,6 @@ func Server(cfg *config.Config) *cli.Command {
defer cancel()
// Flags have to be injected all the way down to the go-micro service
{
server, err := http.Server(
http.Logger(logger),
+1 -1
View File
@@ -50,7 +50,7 @@ type Config struct {
HTTP HTTP
Tracing Tracing
Asset Asset
Routes []Route
Routes []Route `json:"routes"`
}
// New initializes a new configuration with or without defaults.