builderx

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldNames

func FieldNames(in interface{}) []string

FieldNames returns field names from given in. deprecated: use RawFieldNames instead automatically while model generating after goctl version v1.1.0

func NewEq

func NewEq(in interface{}) builder.Eq

NewEq wraps builder.Eq.

func NewGt

func NewGt(in interface{}) builder.Gt

NewGt wraps builder.Gt.

func PostgreSqlJoin added in v1.1.10

func PostgreSqlJoin(elems []string) string

PostgreSqlJoin concatenates the given elements into a string.

func RawFieldNames added in v1.1.3

func RawFieldNames(in interface{}, postgresSql ...bool) []string

RawFieldNames converts golang struct field into slice string.

func ToMap

func ToMap(in interface{}) map[string]interface{}

ToMap converts interface into map.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL