Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersions ¶
CompareVersions returns true if the first field and the third field are equal, otherwise false.
Types ¶
type ElapsedTimer ¶
type ElapsedTimer struct {
// contains filtered or unexported fields
}
A ElapsedTimer is a timer to track the elapsed time.
func (*ElapsedTimer) Duration ¶
func (et *ElapsedTimer) Duration() time.Duration
Duration returns the elapsed time.
func (*ElapsedTimer) Elapsed ¶
func (et *ElapsedTimer) Elapsed() string
Elapsed returns the string representation of elapsed time.
func (*ElapsedTimer) ElapsedMs ¶
func (et *ElapsedTimer) ElapsedMs() string
ElapsedMs returns the elapsed time of string on milliseconds.
Click to show internal directories.
Click to hide internal directories.