Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeProvider ¶
type TimeProvider interface {
UnixNano() int64
UnixSecondsToDate(int64) string
UnixNanoToTime(any) string
}
TimeProvider define la interfaz para utilidades de tiempo implementada tanto para Go estándar como para WASM/JS.
func NewTimeProvider ¶
func NewTimeProvider() TimeProvider
NewTimeProvider retorna la implementación correcta según el entorno de compilación.
Click to show internal directories.
Click to hide internal directories.