customTime

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomTime

type CustomTime struct {
	time.Time
	// contains filtered or unexported fields
}

func NewNow

func NewNow() *CustomTime

func NewNowWithFormat

func NewNowWithFormat(format string) *CustomTime

func Now

func Now() CustomTime

func NowWithFormat

func NowWithFormat(format string) CustomTime

func (CustomTime) MarshalJSON

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

func (CustomTime) MarshalText

func (ct CustomTime) MarshalText() ([]byte, error)

func (*CustomTime) Scan

func (ct *CustomTime) Scan(v interface{}) error

func (*CustomTime) SetFormat

func (ct *CustomTime) SetFormat(format string)

func (*CustomTime) String

func (ct *CustomTime) String() string

func (*CustomTime) UnmarshalJSON

func (ct *CustomTime) UnmarshalJSON(data []byte) error

func (*CustomTime) UnmarshalText

func (ct *CustomTime) UnmarshalText(data []byte) error

func (CustomTime) Value

func (ct CustomTime) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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