mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
minor: example improvement
This commit is contained in:
4
iris.go
4
iris.go
@@ -137,8 +137,8 @@ func New() *Application {
|
||||
// Default with "debug" Logger Level.
|
||||
// Localization enabled on "./locales" directory
|
||||
// and HTML templates on "./views" or "./templates" directory.
|
||||
// It runs with the AccessLog on "./access.log",
|
||||
// CORS (allow all), Recovery and Request ID middleware already attached.
|
||||
// CORS (allow all), Recovery and
|
||||
// Request ID middleware already registered.
|
||||
func Default() *Application {
|
||||
app := New()
|
||||
// Set default log level.
|
||||
|
||||
Reference in New Issue
Block a user