3
0

Implement new auth UI, deprecate auth API endpoints

This commit is contained in:
Denis Arh
2021-02-09 19:43:28 +01:00
parent 9d98bca80a
commit 53be013377
178 changed files with 11489 additions and 2199 deletions

View File

@@ -77,10 +77,12 @@ func Lookup{{ export $Types.Singular }}By{{ export .Suffix }}(ctx context.Contex
}
{{- end }}
{{ if .Create.Enable }}
// Create{{ export $.Types.Singular }} creates one or more {{ $.Types.Plural }} in store
func Create{{ export $Types.Singular }}(ctx context.Context, s {{ export $Types.Plural }}{{ template "extraArgsDef" . }}, rr ... *{{ $Types.GoType }}) error {
return s.Create{{ export $Types.Singular }}(ctx{{ template "extraArgsCall" . }}, rr... )
}
{{- end }}
{{ if .Update.Enable }}
// Update{{ export $.Types.Singular }} updates one or more (existing) {{ $.Types.Plural }} in store