json

package
v0.0.0-...-6b310f0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PettryJSON

func PettryJSON(input JSON) string

Types

type JSON

type JSON map[string]interface{}

func IntoJSON

func IntoJSON[T any](input T) (JSON, error)

func MergeJSON

func MergeJSON(a, b JSON) JSON

func (JSON) GormDataType

func (j JSON) GormDataType() string

func (*JSON) Scan

func (j *JSON) Scan(value interface{}) error

Scan scan value into Jsonb, implements sql.Scanner interface

func (JSON) Value

func (j JSON) Value() (driver.Value, error)

Value return json value, implement driver.Valuer interface

Jump to

Keyboard shortcuts

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