mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 12:31:58 +00:00
Merge pull request #774 from codehakase/patch-1
Update doc.go Former-commit-id: ea459154bfc2861548390990bebf77ad866df0fe
This commit is contained in:
2
doc.go
2
doc.go
@@ -173,7 +173,7 @@ Below you'll see some useful examples:
|
|||||||
app.Run(iris.Addr(":8080"))
|
app.Run(iris.Addr(":8080"))
|
||||||
|
|
||||||
|
|
||||||
// Same as before but using a custom http.Server which may being used somewhere else too
|
// Same as before but using a custom http.Server which may be in use somewhere else too
|
||||||
app.Run(iris.Server(&http.Server{Addr:":8080"}))
|
app.Run(iris.Server(&http.Server{Addr:":8080"}))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user