Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Clock = clock.System()
)
Functions ¶
Types ¶
type AsTimeProvider ¶
AsTimeProvider is implemented by go-toml's LocalDate and LocalDateTime.
type TimeFormatter ¶ added in v0.0.5
type TimeFormatter struct {
// contains filtered or unexported fields
}
TimeFormatter is locale aware.
func NewTimeFormatter ¶ added in v0.0.5
func NewTimeFormatter(ltr locales.Translator) TimeFormatter
Click to show internal directories.
Click to hide internal directories.