Documentation
¶
Index ¶
- func ConvertDynamicToTyped[T any](obj any, t reflect.Type) (uint64, T, error)
- func CreateDynamicStruct(t reflect.Type, fieldToJson map[string]string, depth int) reflect.Type
- func GetJsonTagToValues(object any, fieldToJsonTags map[string]string) map[string]any
- func GetUniqueConstraint[T any](object T) (uint64, *keyValue, error)
- func IsDgraphType(value any) bool
- func IsStructAndNotDgraphType(field reflect.StructField) bool
- func IsValidUniqueIndex(name string) bool
- func MapDynamicToFinal(dynamic any, final any, isNested bool) (uint64, error)
- type DbTag
- type TagMaps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertDynamicToTyped ¶
func CreateDynamicStruct ¶
func GetJsonTagToValues ¶
func GetUniqueConstraint ¶
func IsDgraphType ¶
func IsStructAndNotDgraphType ¶
func IsStructAndNotDgraphType(field reflect.StructField) bool
func IsValidUniqueIndex ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.