Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a litsql.ArgValues from struct fields. If value is not a struct, returns nil.
func WithGetArgsValuesOption ¶
func WithGetArgsValuesOption(options ...Option) sq.GetArgValuesInstanceOption
WithGetArgsValuesOption adds a litsql.ArgValues to be parsed by sq.ParseArgs.
Types ¶
type Option ¶
type Option func(*argValues)
func WithDerefPointer ¶
WithDerefPointer dereferences pointers in struct field values.
func WithMapperFunc ¶
WithMapperFunc sets the field name mapper function.
func WithTagName ¶
WithTagName sets the struct tag name to use. Default is "json".
Click to show internal directories.
Click to hide internal directories.