time

package
v0.0.0-...-a214d60 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: BSD-3-Clause Imports: 2 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 {
	// contains filtered or unexported fields
}

Time 保存当前时间和一段信息

func NewTime

func NewTime(message string) Time

NewTime 将当前时间和一段信息保存到 Time

func (Time) PrintlnSubNow

func (t Time) PrintlnSubNow()

PrintlnSubNow 打印保存的信息和从 NewTime 到现在经过的时间

Jump to

Keyboard shortcuts

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