1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 03:47:04 +00:00

Remove internal/cmd/gen, it has no use for the end-developer.

Former-commit-id: 12bead9d379c6644e391c482fe71b2e88263376c
This commit is contained in:
kataras
2017-06-11 23:58:34 +03:00
parent d031ad55b8
commit 74989ad0a1
19 changed files with 60 additions and 409 deletions

View File

@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package loger provides request logging via middleware. See _examples/beginner/request-logger
// Package logger provides request logging via middleware. See _examples/beginner/request-logger
package logger
import (
@@ -58,7 +58,7 @@ func (l *requestLoggerMiddleware) ServeHTTP(ctx context.Context) {
//
// Receives an optional configuation.
func New(cfg ...Config) context.Handler {
c := DefaultConfigurationReadOnly()
c := DefaultConfiguration()
if len(cfg) > 0 {
c = cfg[0]
}