Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct {
Name string // Go field name
DBName string // Database column name
Type FieldType // Field type classification
TypeName string // Go type name
GoType string // Full Go type (e.g., "*time.Time")
PointedToType *FieldType // For pointers, the type being pointed to (e.g., FieldTypeTime for *time.Time)
}
Field represents a struct field with its metadata
func (Field) IsFilterable ¶
IsFilterable returns true if the field can be used in filters
func (Field) SupportedOperators ¶
func (f Field) SupportedOperators() []repository.Operator
SupportedOperators returns the operators supported by this field type
type Method ¶
type Method struct {
Name string // Method name
Receiver string // Receiver type and name
Parameters string // Parameter list
ReturnType string // Return type
Body string // Method body
Documentation string // Method documentation
}
Method represents a generated method
type Struct ¶
type Struct struct {
Name string // Go struct name
PackageName string // Package name
Fields []Field // Struct fields
}
Struct represents a Go struct with querybuilder generation metadata
func (Struct) FilterableFields ¶
FilterableFields returns only the fields that can be used in filters
Click to show internal directories.
Click to hide internal directories.