Documentation
¶
Index ¶
- type SchemaVer
- func (s SchemaVer) Equal(other SchemaVer) bool
- func (s SchemaVer) GreaterOrEqualTo(other SchemaVer) bool
- func (s SchemaVer) GreaterThan(other SchemaVer) bool
- func (s SchemaVer) LessThan(other SchemaVer) bool
- func (s SchemaVer) LessThanOrEqualTo(other SchemaVer) bool
- func (s SchemaVer) MarshalJSON() ([]byte, error)
- func (s SchemaVer) String() string
- func (s *SchemaVer) UnmarshalJSON(data []byte) error
- func (s SchemaVer) Valid() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaVer ¶
type SchemaVer struct {
Model int // breaking changes
Revision int // potentially-breaking changes
Addition int // additions only
}
func (SchemaVer) GreaterOrEqualTo ¶ added in v0.88.0
func (SchemaVer) GreaterThan ¶ added in v0.95.0
func (SchemaVer) LessThanOrEqualTo ¶ added in v0.95.0
func (SchemaVer) MarshalJSON ¶ added in v0.88.0
func (*SchemaVer) UnmarshalJSON ¶ added in v0.88.0
Click to show internal directories.
Click to hide internal directories.