added json tag on routes

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

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),

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.