diff --git a/pkg/storage/templates/templates.go b/pkg/storage/templates/templates.go index bafd6874b4..5884276b21 100644 --- a/pkg/storage/templates/templates.go +++ b/pkg/storage/templates/templates.go @@ -41,6 +41,7 @@ type UserData struct { *userpb.User } +// WithUser generates a layout based on user data. func WithUser(u *userpb.User, tpl string) string { tpl = clean(tpl) ut := newUserData(u)