patch

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool struct {
	Value bool
	Valid bool // Valid is true if the corresponding key were found in the source
}

func (Bool) MarshalJSON

func (t Bool) MarshalJSON() ([]byte, error)

func (*Bool) UnmarshalJSON

func (t *Bool) UnmarshalJSON(data []byte) error

type BoolArray

type BoolArray struct {
	Value []bool
	Valid bool
}

func (BoolArray) MarshalJSON

func (t BoolArray) MarshalJSON() ([]byte, error)

func (*BoolArray) UnmarshalJSON

func (t *BoolArray) UnmarshalJSON(data []byte) error

type Float32

type Float32 struct {
	Value float32
	Valid bool
}

func (Float32) MarshalJSON

func (t Float32) MarshalJSON() ([]byte, error)

func (*Float32) UnmarshalJSON

func (t *Float32) UnmarshalJSON(data []byte) error

type Float32Array

type Float32Array struct {
	Value []float32
	Valid bool
}

func (Float32Array) MarshalJSON

func (t Float32Array) MarshalJSON() ([]byte, error)

func (*Float32Array) UnmarshalJSON

func (t *Float32Array) UnmarshalJSON(data []byte) error

type Float64

type Float64 struct {
	Value float64
	Valid bool
}

func (Float64) MarshalJSON

func (t Float64) MarshalJSON() ([]byte, error)

func (*Float64) UnmarshalJSON

func (t *Float64) UnmarshalJSON(data []byte) error

type Float64Array

type Float64Array struct {
	Value []float64
	Valid bool
}

func (Float64Array) MarshalJSON

func (t Float64Array) MarshalJSON() ([]byte, error)

func (*Float64Array) UnmarshalJSON

func (t *Float64Array) UnmarshalJSON(data []byte) error

type Int

type Int struct {
	Value int
	Valid bool
}

func (Int) MarshalJSON

func (t Int) MarshalJSON() ([]byte, error)

func (*Int) UnmarshalJSON

func (t *Int) UnmarshalJSON(data []byte) error

type Int8

type Int8 struct {
	Value int8
	Valid bool
}

func (Int8) MarshalJSON

func (t Int8) MarshalJSON() ([]byte, error)

func (*Int8) UnmarshalJSON

func (t *Int8) UnmarshalJSON(data []byte) error

type Int8Array

type Int8Array struct {
	Value []int8
	Valid bool
}

func (Int8Array) MarshalJSON

func (t Int8Array) MarshalJSON() ([]byte, error)

func (*Int8Array) UnmarshalJSON

func (t *Int8Array) UnmarshalJSON(data []byte) error

type Int16

type Int16 struct {
	Value int16
	Valid bool
}

func (Int16) MarshalJSON

func (t Int16) MarshalJSON() ([]byte, error)

func (*Int16) UnmarshalJSON

func (t *Int16) UnmarshalJSON(data []byte) error

type Int16Array

type Int16Array struct {
	Value []int16
	Valid bool
}

func (Int16Array) MarshalJSON

func (t Int16Array) MarshalJSON() ([]byte, error)

func (*Int16Array) UnmarshalJSON

func (t *Int16Array) UnmarshalJSON(data []byte) error

type Int32

type Int32 struct {
	Value int32
	Valid bool
}

func (Int32) MarshalJSON

func (t Int32) MarshalJSON() ([]byte, error)

func (*Int32) UnmarshalJSON

func (t *Int32) UnmarshalJSON(data []byte) error

type Int32Array

type Int32Array struct {
	Value []int32
	Valid bool
}

func (Int32Array) MarshalJSON

func (t Int32Array) MarshalJSON() ([]byte, error)

func (*Int32Array) UnmarshalJSON

func (t *Int32Array) UnmarshalJSON(data []byte) error

type Int64

type Int64 struct {
	Value int64
	Valid bool
}

func (Int64) MarshalJSON

func (t Int64) MarshalJSON() ([]byte, error)

func (*Int64) UnmarshalJSON

func (t *Int64) UnmarshalJSON(data []byte) error

type Int64Array

type Int64Array struct {
	Value []int64
	Valid bool
}

func (Int64Array) MarshalJSON

func (t Int64Array) MarshalJSON() ([]byte, error)

func (*Int64Array) UnmarshalJSON

func (t *Int64Array) UnmarshalJSON(data []byte) error

type IntArray

type IntArray struct {
	Value []int
	Valid bool
}

func (IntArray) MarshalJSON

func (t IntArray) MarshalJSON() ([]byte, error)

func (*IntArray) UnmarshalJSON

func (t *IntArray) UnmarshalJSON(data []byte) error

type String

type String struct {
	Value string
	Valid bool
}

func (String) MarshalJSON

func (t String) MarshalJSON() ([]byte, error)

func (*String) UnmarshalJSON

func (t *String) UnmarshalJSON(data []byte) error

type StringArray

type StringArray struct {
	Value []string
	Valid bool
}

func (StringArray) MarshalJSON

func (t StringArray) MarshalJSON() ([]byte, error)

func (*StringArray) UnmarshalJSON

func (t *StringArray) UnmarshalJSON(data []byte) error

type Time

type Time struct {
	Value time.Time
	Valid bool
}

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(data []byte) error

type TimeArray

type TimeArray struct {
	Value []time.Time
	Valid bool
}

func (TimeArray) MarshalJSON

func (t TimeArray) MarshalJSON() ([]byte, error)

func (*TimeArray) UnmarshalJSON

func (t *TimeArray) UnmarshalJSON(data []byte) error

type Uint

type Uint struct {
	Value uint
	Valid bool
}

func (Uint) MarshalJSON

func (t Uint) MarshalJSON() ([]byte, error)

func (*Uint) UnmarshalJSON

func (t *Uint) UnmarshalJSON(data []byte) error

type Uint8

type Uint8 struct {
	Value uint8
	Valid bool
}

func (Uint8) MarshalJSON

func (t Uint8) MarshalJSON() ([]byte, error)

func (*Uint8) UnmarshalJSON

func (t *Uint8) UnmarshalJSON(data []byte) error

type Uint8Array

type Uint8Array struct {
	Value []uint8
	Valid bool
}

func (Uint8Array) MarshalJSON

func (t Uint8Array) MarshalJSON() ([]byte, error)

func (*Uint8Array) UnmarshalJSON

func (t *Uint8Array) UnmarshalJSON(data []byte) error

type Uint16

type Uint16 struct {
	Value uint16
	Valid bool
}

func (Uint16) MarshalJSON

func (t Uint16) MarshalJSON() ([]byte, error)

func (*Uint16) UnmarshalJSON

func (t *Uint16) UnmarshalJSON(data []byte) error

type Uint16Array

type Uint16Array struct {
	Value []uint16
	Valid bool
}

func (Uint16Array) MarshalJSON

func (t Uint16Array) MarshalJSON() ([]byte, error)

func (*Uint16Array) UnmarshalJSON

func (t *Uint16Array) UnmarshalJSON(data []byte) error

type Uint32

type Uint32 struct {
	Value uint32
	Valid bool
}

func (Uint32) MarshalJSON

func (t Uint32) MarshalJSON() ([]byte, error)

func (*Uint32) UnmarshalJSON

func (t *Uint32) UnmarshalJSON(data []byte) error

type Uint32Array

type Uint32Array struct {
	Value []uint32
	Valid bool
}

func (Uint32Array) MarshalJSON

func (t Uint32Array) MarshalJSON() ([]byte, error)

func (*Uint32Array) UnmarshalJSON

func (t *Uint32Array) UnmarshalJSON(data []byte) error

type Uint64

type Uint64 struct {
	Value uint64
	Valid bool
}

func (Uint64) MarshalJSON

func (t Uint64) MarshalJSON() ([]byte, error)

func (*Uint64) UnmarshalJSON

func (t *Uint64) UnmarshalJSON(data []byte) error

type Uint64Array

type Uint64Array struct {
	Value []uint64
	Valid bool
}

func (Uint64Array) MarshalJSON

func (t Uint64Array) MarshalJSON() ([]byte, error)

func (*Uint64Array) UnmarshalJSON

func (t *Uint64Array) UnmarshalJSON(data []byte) error

type UintArray

type UintArray struct {
	Value []uint
	Valid bool
}

func (UintArray) MarshalJSON

func (t UintArray) MarshalJSON() ([]byte, error)

func (*UintArray) UnmarshalJSON

func (t *UintArray) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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