types

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToMd5

func ToMd5(str string) string

Types

type Date

type Date time.Time

func (Date) Date

func (this Date) Date() time.Time

func (*Date) MarshalJSON

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

func (*Date) UnmarshalJSON

func (d *Date) UnmarshalJSON(data []byte) error

type DateTime

type DateTime time.Time

func (DateTime) DateTime

func (this DateTime) DateTime() time.Time

func (*DateTime) MarshalJSON

func (this *DateTime) MarshalJSON() ([]byte, error)

func (*DateTime) UnmarshalJSON

func (this *DateTime) UnmarshalJSON(data []byte) error

type Int64

type Int64 int64

func (*Int64) MarshalJSON

func (INT *Int64) MarshalJSON() ([]byte, error)

func (*Int64) UnmarshalJSON

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

type Time

type Time time.Time

func (*Time) MarshalJSON

func (this *Time) MarshalJSON() ([]byte, error)

func (Time) Time

func (this Time) Time() time.Time

func (*Time) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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