# Functions
AppendString - append string.
ClearLogs - clear logs.
Debug logs a debug message with the given fields.
Error logs a debug message with the given fields.
Fatal logs a message than calls os.Exit(1).
FormatNow - format time.
GetLogger - get zap.Logger.
IndexOfInt2Slice - indexof for []int2, []int2 is like [x0, y0, x1, y1, ...] start * 2 <--> len([]int).
IndexOfIntSlice - indexof for []int.
IndexOfStringSlice - indexof for []string.
Info logs a debug message with the given fields.
InitLogger - initializes a thread-safe singleton logger.
JSON - It's like zap.String(name, str).
NewMockITime creates a new mock instance.
SetLogger - set zap.Logger, return last zap.Logger.
SyncLogger - sync logger.
Warn logs a debug message with the given fields.
# Structs
MockITime is a mock of ITime interface.
MockITimeMockRecorder is the mock recorder for MockITime.
Time - default Time.
# Interfaces
ITime - Time.