From 7c7b01ed24a31e3c798f7a3b5cf3e4cd23fbd5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Wed, 25 May 2016 21:12:12 +0200 Subject: [PATCH] Format code. --- internal/config/config.go | 2 +- internal/webserver/webserver.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 0d0ebca72..397b8bd16 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -124,7 +124,7 @@ type AgentConfig struct { OmitHostname bool // - WebhookServiceAddress string + WebhookServiceAddress string } // Inputs returns a list of strings of the configured inputs. diff --git a/internal/webserver/webserver.go b/internal/webserver/webserver.go index 07909c339..ad574ca86 100644 --- a/internal/webserver/webserver.go +++ b/internal/webserver/webserver.go @@ -10,11 +10,11 @@ import ( type Webserver struct { ServiceAddress string - router *mux.Router + router *mux.Router } func NewWebserver() *Webserver { - return &Webserver{router:mux.NewRouter()} + return &Webserver{router: mux.NewRouter()} } func (wb *Webserver) Router() *mux.Router {