helper

package
v0.0.0-...-7609b65 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DateFormatSF = "2006-01-02T15:04:05-0700"

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date time.Time

Date is a Salesforce Date

func (*Date) Copy

func (t *Date) Copy() *Date

func (*Date) DecodeMsgpack

func (t *Date) DecodeMsgpack(dec *msgpack.Decoder) error

func (*Date) EncodeMsgpack

func (t *Date) EncodeMsgpack(enc *msgpack.Encoder) error

func (*Date) Format

func (t *Date) Format(s string) string

func (*Date) FormatSF

func (t *Date) FormatSF() string

func (*Date) MarshalJSON

func (t *Date) MarshalJSON() ([]byte, error)

Implement Marshaler interface

func (*Date) UnmarshalJSON

func (t *Date) UnmarshalJSON(b []byte) error

Implement Unmarshaler interface

Jump to

Keyboard shortcuts

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