types

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const RFC3339Milli = "2006-01-02T15:04:05.999Z07:00"

Variables

View Source
var ErrNotFound = errors.New("ErrNotFound")

ErrNotFound gets returned when a database record does not exist

Functions

This section is empty.

Types

type BatchResult added in v0.4.0

type BatchResult struct {
	Count int `json:"count"`
}

type DateTime

type DateTime = time.Time

DateTime is a type alias for time.Time

type Direction

type Direction string

Direction describes

const (
	ASC  Direction = "asc"
	DESC Direction = "desc"
)

type JSON

type JSON json.RawMessage

func (JSON) MarshalJSON

func (m JSON) MarshalJSON() ([]byte, error)

MarshalJSON returns m as the JSON encoding of m.

func (*JSON) UnmarshalJSON

func (m *JSON) UnmarshalJSON(data []byte) error

UnmarshalJSON sets *m to a copy of data.

Jump to

Keyboard shortcuts

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