Merge pull request #1079 from morihaya/patch-1

Fixed typo in comment

Former-commit-id: 008cf1c9f77c67867c0cfc2c938b92f4be1b12e2
This commit is contained in:
Gerasimos (Makis) Maropoulos 2018-09-13 00:07:37 +03:00 committed by GitHub
commit 6fc7fc632a

View File

@ -118,8 +118,8 @@ func YAML(filename string) Configuration {
// see `WithGlobalConfiguration` for more information. // see `WithGlobalConfiguration` for more information.
// //
// Usage: // Usage:
// app.Configure(iris.WithConfiguration(iris.YAML("myconfig.tml"))) or // app.Configure(iris.WithConfiguration(iris.TOML("myconfig.tml"))) or
// app.Run([iris.Runner], iris.WithConfiguration(iris.YAML("myconfig.tml"))). // app.Run([iris.Runner], iris.WithConfiguration(iris.TOML("myconfig.tml"))).
func TOML(filename string) Configuration { func TOML(filename string) Configuration {
c := DefaultConfiguration() c := DefaultConfiguration()