data

package
v1.0.33 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 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