fmt

Gerasimos (Makis) Maropoulos 2019-07-04 06:11:35 +03:00
parent 21cf8efdd2
commit b774aafbec
No known key found for this signature in database
GPG Key ID: F169457BBDA4ACF4

@ -100,7 +100,9 @@ iris.FileServer(directory string, options ...DirOptions)
**Usage** **Usage**
```go ```go
handler := iris.FileServer("./assets", iris.DirOptions {ShowList: true, Gzip: true, IndexName: "index.html"}) handler := iris.FileServer("./assets", iris.DirOptions {
ShowList: true, Gzip: true, IndexName: "index.html",
})
``` ```
Examples can be found at: https://github.com/kataras/iris/tree/v11.2.0/_examples/file-server Examples can be found at: https://github.com/kataras/iris/tree/v11.2.0/_examples/file-server