Format code.

This commit is contained in:
François de Metz 2016-05-25 21:12:12 +02:00 committed by Cyril Duez
parent 18d49da9da
commit 7c7b01ed24
2 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ type AgentConfig struct {
OmitHostname bool OmitHostname bool
// //
WebhookServiceAddress string WebhookServiceAddress string
} }
// Inputs returns a list of strings of the configured inputs. // Inputs returns a list of strings of the configured inputs.

View File

@ -10,11 +10,11 @@ import (
type Webserver struct { type Webserver struct {
ServiceAddress string ServiceAddress string
router *mux.Router router *mux.Router
} }
func NewWebserver() *Webserver { func NewWebserver() *Webserver {
return &Webserver{router:mux.NewRouter()} return &Webserver{router: mux.NewRouter()}
} }
func (wb *Webserver) Router() *mux.Router { func (wb *Webserver) Router() *mux.Router {