Refresh code templates and regenerate go files
Mostly minor changes related to go 1.19 comment formatting.
This commit is contained in:
@@ -275,7 +275,8 @@ func rbacResourceValidator(r string, oo ...string) error {
|
||||
|
||||
// resourceLoader loads resource from store
|
||||
//
|
||||
// function assumes existence of loader functions for all resource types
|
||||
// # Notes
|
||||
// Function assumes existence of loader functions for all resource types
|
||||
//
|
||||
// This function is auto-generated
|
||||
func (svc accessControl) resourceLoader(ctx context.Context, resource string) (rbac.Resource, error) {
|
||||
@@ -330,6 +331,7 @@ func rbacResourceOperations(r string) map[string]bool {
|
||||
|
||||
// {{ .funcName }} checks validity of RBAC resource and operations
|
||||
//
|
||||
// # Notes
|
||||
// Can be called without operations to check for validity of resource string only
|
||||
//
|
||||
// This function is auto-generated
|
||||
|
||||
@@ -513,6 +513,7 @@ func (s *Store) Query{{ .expIdentPlural }}(
|
||||
{{ with .api.sortableFields }}
|
||||
// {{ .fnIdent }} returns all {{ .expIdent }} columns flagged as sortable
|
||||
//
|
||||
// # Notes
|
||||
// With optional string arg, all columns are returned aliased
|
||||
//
|
||||
// This function is auto-generated
|
||||
@@ -532,9 +533,10 @@ func (Store) {{ .fnIdent }}() map[string]string {
|
||||
// Values that are collected must come from sortable, unique or primary columns/fields
|
||||
// At least one of the collected columns must be flagged as unique, otherwise fn appends primary keys at the end
|
||||
//
|
||||
// Known issue:
|
||||
// when collecting cursor values for query that sorts by unique column with partial index (ie: unique handle on
|
||||
// undeleted items)
|
||||
// # Known issues:
|
||||
//
|
||||
// When collecting cursor values for query that sorts by unique column with partial index (ie: unique handle on
|
||||
// undeleted items)
|
||||
//
|
||||
// This function is auto-generated
|
||||
func (s *Store) {{ .fnIdent }}(res *{{ .goType }}, cc ...*filter.SortExpr) *filter.PagingCursor {
|
||||
|
||||
Reference in New Issue
Block a user