package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Mar 25, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ByUUID returns a single-element predicate slice if id is a valid UUID,
or nil otherwise. Designed for use with Ent's variadic .Where():
q.Where(scope.ByUUID(id, entity.FieldEQ)...)
preds = append(preds, scope.ByUUID(id, entity.FieldEQ)...)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.