mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
formatting
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
This commit is contained in:
@@ -26,7 +26,7 @@ func FromStd(handler interface{}) context.Handler {
|
||||
case context.Handler:
|
||||
{
|
||||
//
|
||||
//it's already a iris handler
|
||||
// it's already a iris handler
|
||||
//
|
||||
return handler.(context.Handler)
|
||||
}
|
||||
@@ -67,7 +67,6 @@ func FromStd(handler interface{}) context.Handler {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// FromStdWithNext receives a standar handler - middleware form - and returns a
|
||||
|
||||
@@ -36,7 +36,6 @@ func TestFromStd(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestFromStdWithNext(t *testing.T) {
|
||||
|
||||
basicauth := "secret"
|
||||
passed := "ok"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user