Documentation ¶
Index ¶
Constants ¶
View Source
const (
AllChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
)
Variables ¶
View Source
var ( TupleKeyCmpTransformer = cmp.Transformer("Sort", func(in []*openfgapb.TupleKey) []*openfgapb.TupleKey { out := append([]*openfgapb.TupleKey(nil), in...) sort.SliceStable(out, func(i, j int) bool { if out[i].Object > out[j].Object { return false } if out[i].Relation > out[j].Relation { return false } if out[i].User > out[j].User { return false } return true }) return out }) )
Functions ¶
func CreateRandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.