Merge pull request #939 from StefanPahlplatz/patch-1

Fixed a typo

Former-commit-id: 5208cc634d069f373d282663a001937bb657390b
This commit is contained in:
Gerasimos (Makis) Maropoulos 2018-03-24 03:10:49 +02:00 committed by GitHub
commit 2955edd81c

View File

@ -5,7 +5,7 @@
You can start the server(s) listening to any type of `net.Listener` or even `http.Server` instance. You can start the server(s) listening to any type of `net.Listener` or even `http.Server` instance.
The method for initialization of the server should be passed at the end, via `Run` function. The method for initialization of the server should be passed at the end, via `Run` function.
The most common method that Go developers are use to serve their servers are The most common method that Go developers use to serve their servers are
by passing a network address with form of "hostname:ip". With Iris by passing a network address with form of "hostname:ip". With Iris
we use the `iris.Addr` which is an `iris.Runner` type we use the `iris.Addr` which is an `iris.Runner` type
@ -248,4 +248,4 @@ func main() {
app.Run(iris.Addr(":8080"), iris.WithoutInterruptHandler) app.Run(iris.Addr(":8080"), iris.WithoutInterruptHandler)
} }
``` ```