pangeautil

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalizeJSONMarshall

func CanonicalizeJSONMarshall(v interface{}) []byte

CanonicalizeJSONMarshall is not a true canoni

func CanonicalizeStruct

func CanonicalizeStruct(v interface{}) ([]byte, error)

Types

type PangeaTimestamp

type PangeaTimestamp time.Time

func (PangeaTimestamp) MarshalJSON

func (ct PangeaTimestamp) MarshalJSON() ([]byte, error)

MarshalJSON writes a quoted string in the custom format

func (*PangeaTimestamp) String

func (ct *PangeaTimestamp) String() string

String returns the time in the custom format

func (*PangeaTimestamp) UnmarshalJSON

func (ct *PangeaTimestamp) UnmarshalJSON(b []byte) (err error)

UnmarshalJSON Parses the json string in the custom format

Jump to

Keyboard shortcuts

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