Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(ctx context.Context, db Executable, table string, fieldOrder []string, def map[string]FieldDefinition) error
Types ¶
type BytesFieldDef ¶
func (*BytesFieldDef) FieldPtr ¶
func (fd *BytesFieldDef) FieldPtr() interface{}
func (*BytesFieldDef) Marshall ¶
func (fd *BytesFieldDef) Marshall() (interface{}, error)
func (*BytesFieldDef) Unmarshall ¶
func (fd *BytesFieldDef) Unmarshall() error
type CidFieldDef ¶
type CidFieldDef struct { Marshalled []byte F *cid.Cid }
func (*CidFieldDef) FieldPtr ¶
func (fd *CidFieldDef) FieldPtr() interface{}
func (*CidFieldDef) Marshall ¶
func (fd *CidFieldDef) Marshall() (interface{}, error)
func (*CidFieldDef) Unmarshall ¶
func (fd *CidFieldDef) Unmarshall() error
type Executable ¶
type FieldDefinition ¶
Click to show internal directories.
Click to hide internal directories.