server port comment about default/PORT env var

This commit is contained in:
Henrique Chehad
2016-09-19 16:58:24 -03:00
parent f95e0ee3b8
commit f4e8065cd9

View File

@@ -97,7 +97,8 @@ func (s *Server) Run(ctx context.Context) {
bindHandlers(s.Router) bindHandlers(s.Router)
// Default to :8080 // By default it serves on :8080 unless a
// PORT environment variable was defined.
s.Router.Run() s.Router.Run()
} }