Skip to content

Commit 310e62b

Browse files
authored
fix FilterController example
fix FilterController example.
1 parent 8d01a05 commit 310e62b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filterconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func newFilterConfigurator(controllerName, methodName string) FilterConfigurator
6262

6363
// FilterController returns a configurator for the filters applied to all
6464
// actions on the given controller instance. For example:
65-
// FilterAction(MyController{})
65+
// FilterController(MyController{})
6666
func FilterController(controllerInstance interface{}) FilterConfigurator {
6767
t := reflect.TypeOf(controllerInstance)
6868
for t.Kind() == reflect.Ptr {

0 commit comments

Comments
 (0)