8 lines
107 B
Go
8 lines
107 B
Go
|
package snap
|
||
|
|
||
|
func Redirect(to string) func(c *Context) {
|
||
|
return func(c *Context) {
|
||
|
c.Redirect(to)
|
||
|
}
|
||
|
}
|