data

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map map[string]interface{}

Map gorm compatible dynamic map

func (Map) Get

func (p Map) Get(v string) interface{}

func (Map) Has

func (p Map) Has(v string) (interface{}, bool)

func (*Map) Scan

func (p *Map) Scan(src interface{}) error

Scan parse json from gorm to map

func (Map) ToStruct

func (p Map) ToStruct(v interface{})

func (Map) Value

func (p Map) Value() (driver.Value, error)

Value return json value to store by gorm

Jump to

Keyboard shortcuts

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