add Int64Component
This commit is contained in:
@@ -10,7 +10,7 @@ type ComponentType int8
|
||||
const (
|
||||
_ ComponentType = iota
|
||||
TextComponentType
|
||||
NumberComponentType
|
||||
Int64ComponentType
|
||||
Date
|
||||
)
|
||||
|
||||
@@ -24,4 +24,5 @@ type Component interface {
|
||||
|
||||
type ComponentInstance interface {
|
||||
FromJSON(component Component, data json.RawMessage) error
|
||||
Value() interface{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user