From 8b10324ab64c3c99e46ed272dd5d32c89ff156a1 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 20 Jan 2020 13:22:18 +0100 Subject: go fmt --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.go') diff --git a/server.go b/server.go index 11b55f9..5672a99 100644 --- a/server.go +++ b/server.go @@ -85,7 +85,7 @@ func (err *NoUpstreamError) Error() string { // schemes. If no configured upstream server matches, a *NoUpstreamError is // returned. An empty URL.Scheme means that the caller needs to perform // auto-discovery with URL.Host. -func (s *Server) Upstream(schemes... string) (*url.URL, error) { +func (s *Server) Upstream(schemes ...string) (*url.URL, error) { var urls []*url.URL for _, scheme := range append(schemes, "") { u, ok := s.upstreams[scheme] -- cgit v1.2.3-59-g8ed1b