Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultDatabase = "digota"
DefaultDatabase is used if nothing else specified
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdSetter ¶
type IdSetter interface {
SetID(string)
}
IdSetter helps the storage handler creating new object with fresh uuid
type Interfaces ¶
type Interfaces interface {
GetEntity() string
}
Interfaces same as Interface but for slices
type Sort ¶
type Sort int
Sort type for storage handlers
const ( // SortNatural use natural order SortNatural Sort = iota // SortCreatedDesc created newest to oldest SortCreatedDesc // SortCreatedAsc created oldest to newset SortCreatedAsc // SortUpdatedDesc updated newest to oldest SortUpdatedDesc // SortUpdatedAsc updated oldest to newset SortUpdatedAsc )
Click to show internal directories.
Click to hide internal directories.