mock_timegen

package
v1.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

type Time struct {
}

Time has generating method.

func (*Time) Location

func (*Time) Location(date time.Time) time.Time

Location timezoneを設定する

func (*Time) Now

func (*Time) Now() time.Time

Now 現在時刻を取得する

func (*Time) ParseInLocation

func (*Time) ParseInLocation(dateText string) time.Time

Location timezoneを設定する

func (*Time) ParseInLocationTimezone

func (*Time) ParseInLocationTimezone(dateText string) time.Time

Location timezoneを設定する

Jump to

Keyboard shortcuts

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