mirror of
https://github.com/crazy-max/diun.git
synced 2026-01-03 19:45:05 +01:00
--- updated-dependencies: - dependency-name: github.com/dromara/carbon/v2 dependency-version: 2.6.11 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
20 lines
343 B
Go
20 lines
343 B
Go
package carbon
|
|
|
|
// LayoutTyper defines a LayoutTyper interface
|
|
type LayoutTyper interface {
|
|
~string
|
|
Layout() string
|
|
}
|
|
|
|
// FormatTyper defines a FormatTyper interface.
|
|
type FormatTyper interface {
|
|
~string
|
|
Format() string
|
|
}
|
|
|
|
// TimestampTyper defines a TimestampTyper interface.
|
|
type TimestampTyper interface {
|
|
~int64
|
|
Precision() string
|
|
}
|