Documentation
¶
Index ¶
Constants ¶
View Source
const ( EdgeO2O = iota EdgeO2M EdgeM2O EdgeM2M )
View Source
const ImportsEntities = "entities"
Variables ¶
This section is empty.
Functions ¶
func NeedEdgeRead ¶
func NeedEdgeRead(sch *Schema, cfg *annotations.EdgeConfig) bool
Types ¶
type Entity ¶
type Entity struct {
Model any
Path string
Name string
NeedFlat bool
Fields []Field
Edges []*Edge
HasReadEdges bool
HasCreateEdges bool
HasUpdateEdges bool
Config *annotations.EntityConfig
}
func (Entity) GetIDField ¶
type FieldType ¶
type FieldType uint8
func (FieldType) OApiTypeName ¶
func (FieldType) ProtoTypeName ¶
func (FieldType) TemplateName ¶
Click to show internal directories.
Click to hide internal directories.