Documentation ¶
Index ¶
- func FormattedNow() (now []byte)
- func GetFormat() (form string)
- func GetLocation() (loc *time.Location)
- func IsDaemonRunning() (running bool)
- func Now() (now time.Time)
- func Since(t time.Time) (dur time.Duration)
- func Stop()
- func UnixNanoNow() (now int64)
- func UnixNow() (now int64)
- func UnixUNanoNow() (now uint32)
- func UnixUNow() (now uint32)
- type Ftime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocation ¶
func IsDaemonRunning ¶
func IsDaemonRunning() (running bool)
Types ¶
type Ftime ¶
type Ftime interface { IsDaemonRunning() bool GetFormat() string SetFormat(format string) Ftime GetLocation() *time.Location SetLocation(location *time.Location) Ftime Now() time.Time Stop() UnixNow() int64 UnixUNow() uint32 UnixNanoNow() int64 UnixUNanoNow() uint32 FormattedNow() []byte Since(t time.Time) time.Duration StartTimerD(ctx context.Context, dur time.Duration) Ftime }
func SetLocation ¶
SetLocation replaces time location
Click to show internal directories.
Click to hide internal directories.