tools

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NowDay

func NowDay() int

当前时间日期

func NowHour

func NowHour() int

当前时间小时

func NowMinute

func NowMinute() int

当前时间分钟

func NowMonth

func NowMonth() int

当前时间月份 一月: 1

func NowSecond

func NowSecond() int

当前时间秒

func NowTime

func NowTime() time.Time

当前时间

func NowTimeFormat

func NowTimeFormat(format string) string

当前时间 2006-01-02 15:04:05 PM Mon Jan 2006-01-_2 15:04:05 PM Mon Jan

func NowTimeStr

func NowTimeStr() string

当前时间

func NowUnix

func NowUnix() int64

当前时间秒戳(s)

func NowUnixNano

func NowUnixNano() int64

当前时间秒戳(ns)

func NowWeekday

func NowWeekday() int

当前时间星期几 星期日: 0

func NowYear

func NowYear() int

当前时间年份

Types

This section is empty.

Jump to

Keyboard shortcuts

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