Work on
This commit is contained in:
parent
a8abfb2219
commit
25243b3a9d
3 changed files with 113 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
/*
|
||||
Tool for generating helper functions for storage.Role structs inside of the storage package
|
||||
It generates the following functions:
|
||||
- CollapseRolesIntoOne: Collapse a list of roles into one singular role. Each value will be set to the
|
||||
value of the role with the highest priority
|
||||
- RoleDeepCopy: Copy a role, including all arrays. Every value will be copied too
|
||||
- CompareRoles: Compare two roles. Returns true only if all fields are equal
|
||||
(if one of the fields is nil, that field is seen as equal)
|
||||
*/
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue