mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-27 07:31:37 +01:00
Bumps [github.com/dromara/carbon/v2](https://github.com/dromara/carbon) from 2.5.2 to 2.6.8. - [Release notes](https://github.com/dromara/carbon/releases) - [Commits](https://github.com/dromara/carbon/compare/v2.5.2...v2.6.8) --- updated-dependencies: - dependency-name: github.com/dromara/carbon/v2 dependency-version: 2.6.8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
25 lines
435 B
Go
25 lines
435 B
Go
package carbon
|
|
|
|
// DataTyper defines a DataTyper interface
|
|
type DataTyper interface {
|
|
DataType() string
|
|
}
|
|
|
|
// 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
|
|
}
|