Przeglądaj źródła

typo: modified `Server` as `Serve`

Signed-off-by: mgniu <mgniu@dataman-inc.com>
mgniu 8 lat temu
rodzic
commit
97a4548bb3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      api/server/server.go

+ 1 - 1
api/server/server.go

@@ -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 {