Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FieldNameGetter ¶
type FieldNameGetter interface {
GetFieldName(fieldNameByKeyGetter fieldNameByKeyGetter) string
}
type StructField ¶
type StructField[T any, V any] interface { Name() string GetAdditionalName(key string) string TryGetAdditionalName(key string) (string, bool) ExtractValue(from T) V }
func FromPtr ¶
func FromPtr[T any, V any](s StructField[T, V]) StructField[*T, V]
type ValueExtractor ¶
Click to show internal directories.
Click to hide internal directories.