mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Fixed typo in comment
'iris.YAML("myconfig.tml")' -> 'iris.TOML("myconfig.tml")' Former-commit-id: 6fe53f743520744447d503570993cb0f54b572d9
This commit is contained in:
parent
36d6820f9a
commit
057ea27f99
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user