jsonmap

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsJsonArray

func IsJsonArray(b []byte) bool

Types

type JSONMap

type JSONMap map[string]interface{}

func (*JSONMap) Scan

func (m *JSONMap) Scan(value interface{}) error

Scanner 接口实现方法

func (JSONMap) Value

func (m JSONMap) Value() (driver.Value, error)

driver Valuer 接口实现方法

type NullMap

type NullMap struct {
	Map   map[string]interface{}
	Valid bool
}

func (*NullMap) Scan

func (nm *NullMap) Scan(value interface{}) error

Scanner 接口实现方法

func (NullMap) Value

func (nm NullMap) Value() (driver.Value, error)

driver Valuer 接口实现方法

Jump to

Keyboard shortcuts

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