package
0.0.0-20241109201159-16952c6bb013
Repository: https://github.com/grokloc/grokloc-apiserver.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewRole creates a Role from an int.
NewStatus creates a Status from an int.
NotNullConstraint will try to match the db not-null constraint violation.
UniqueConstraint will try to match the db unique constraint violation.
Update changes the value of a column given a tablename, column name and id.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
never store.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
never store.
No description provided by the author
# Variables
ErrConflict describes a duplicate row insertion.
ErrDisallowedValue signals a value of the right type, just not allowed.
ErrModelMigrate signals a model could not be migrated to a different version.
ErrNotFound describes an unfound model.
ErrRelatedOrg signals that an org is missing or not Active.
ErrRelatedUser signals that a user is missing, not Active, or is in a different org.
ErrRole signals a problem with a role field.
ErrRowsAffected describes an incorrect number of rows changed from a db mutation.
ErrStatus signals a problem with a status field.
ErrUnsafeString signals bad string input.
# Interfaces
WithID indicates a model has a retrievable model ID.
WithOrg indicates a model has a retrievable Org ID.
WithRepository indicates a models has a retrievable RepositoryID.
WithUser indicates a model has a retrievable User ID.