Merge pull request #27154 from pwzgorilla/master

typo: modified `Server` as `Serve`
Upstream-commit: ed72c65a2a608957f8fe0b978755b705209c6a73
Component: engine
This commit is contained in:
Doug Davis
2016-10-05 07:03:18 -04:00
committed by GitHub

View File

@ -76,7 +76,7 @@ func (s *Server) Close() {
}
// serveAPI loops through all initialized servers and spawns goroutine
// with Server method for each. It sets createMux() as Handler also.
// with Serve method for each. It sets createMux() as Handler also.
func (s *Server) serveAPI() error {
var chErrors = make(chan error, len(s.servers))
for _, srv := range s.servers {