Documentation ¶
Index ¶
- func CheckField(result check.Result, domainCNName string, fieldName string) error
- func CheckFields(result check.Result, domainCNName string, fieldNames []string) error
- func ColumnName(fieldName string) string
- func Field[T any](object Object, fieldName string) (T, error)
- func HasField(object Object, fieldName string) bool
- func RelationColumnName(object Object) string
- func RelationTableName(schema string, left Object, right Object) string
- func RelativeDomainPath(object Object) string
- func SetField[T any](object Object, fieldName string, value T) error
- func SnakeDomainName(object Object) string
- func TableName(schema string, object Object) string
- func ToConcrete[T Object](object Object) (T, error)
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckField ¶ added in v0.5.1
func CheckFields ¶ added in v0.5.1
func ColumnName ¶ added in v0.5.1
func RelationColumnName ¶
func RelativeDomainPath ¶
func SnakeDomainName ¶
func ToConcrete ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.