Browse code

Merge pull request #37347 from yui-knk/update_comment

Update comments about `InitRouter`

Vincent Demeester authored on 2018/06/27 20:46:24
Showing 1 changed files
... ...
@@ -149,7 +149,7 @@ func (s *Server) makeHTTPHandler(handler httputils.APIFunc) http.HandlerFunc {
149 149
 }
150 150
 
151 151
 // InitRouter initializes the list of routers for the server.
152
-// This method also enables the Go profiler if enableProfiler is true.
152
+// This method also enables the Go profiler.
153 153
 func (s *Server) InitRouter(routers ...router.Router) {
154 154
 	s.routers = append(s.routers, routers...)
155 155