pg: github.com/go-pg/pg/internal/structfilter Index | Files

package structfilter

import "github.com/go-pg/pg/internal/structfilter"

Index

Package Files

field.go scan.go struct.go structs.go

func ParseTime Uses

func ParseTime(s string) (time.Time, error)

type Field Uses

type Field struct {
    Column string

    OpValue string

    IsSlice bool

    Scan   ScanFunc
    Append types.AppenderFunc
    // contains filtered or unexported fields
}

func (*Field) NoDecode Uses

func (f *Field) NoDecode() bool

func (*Field) Omit Uses

func (f *Field) Omit(value reflect.Value) bool

func (*Field) Value Uses

func (f *Field) Value(strct reflect.Value) reflect.Value

type ScanFunc Uses

type ScanFunc func(v reflect.Value, values []string) error

type Struct Uses

type Struct struct {
    TableName types.Q
    Fields    []*Field
}

func GetStruct Uses

func GetStruct(typ reflect.Type) *Struct

func NewStruct Uses

func NewStruct(typ reflect.Type) *Struct

func (*Struct) Field Uses

func (s *Struct) Field(name string) *Field

Package structfilter imports 12 packages (graph) and is imported by 2 packages. Updated 2019-07-22. Refresh now. Tools for package owners.