Fixed typo in comment

'iris.YAML("myconfig.tml")' -> 'iris.TOML("myconfig.tml")'


Former-commit-id: 6fe53f743520744447d503570993cb0f54b572d9
This commit is contained in:
morihaya 2018-09-03 00:49:02 +09:00
parent 36d6820f9a
commit 057ea27f99

View File

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