Remove unuused parameters
This commit removes names for unusued parameters where they are no longer needed.
This commit is contained in:
parent
b45233b87c
commit
8ad8cf7994
24 changed files with 30 additions and 30 deletions
|
|
@ -32,7 +32,7 @@ type usersContext struct {
|
|||
Users []*auth.AuthUser
|
||||
}
|
||||
|
||||
func (admin *Admin) users(ctx context.Context) http.Handler {
|
||||
func (admin *Admin) users(context.Context) http.Handler {
|
||||
tpl := usersTemplate.Prepare(
|
||||
admin.dependencies.Templating,
|
||||
templating.Crumbs(
|
||||
|
|
@ -71,7 +71,7 @@ type createUserResult struct {
|
|||
Admin bool
|
||||
}
|
||||
|
||||
func (admin *Admin) createUser(ctx context.Context) http.Handler {
|
||||
func (admin *Admin) createUser(context.Context) http.Handler {
|
||||
tpl := userCreateTemplate.Prepare(
|
||||
admin.dependencies.Templating,
|
||||
templating.Crumbs(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue