|
package subject
|
|
|
|
import "fmt"
|
|
|
|
func getRoleValue(val string) string {
|
|
return fmt.Sprintf("%s.%s", prefixes.SupplierRole, val)
|
|
}
|
|
|
|
var SupplierRole = struct {
|
|
Create string
|
|
Update string
|
|
}{
|
|
Create: getRoleValue("create"),
|
|
Update: getRoleValue("update"),
|
|
}
|