feat: 迁移数字、时间操作
This commit is contained in:
@ -52,7 +52,19 @@ type StructValueSliceResult[Value any] struct {
|
||||
}
|
||||
|
||||
// StringResult ...
|
||||
type StringResult struct {
|
||||
/*type StringResult struct {
|
||||
Value string `json:"value"`
|
||||
Err error `json:"err"`
|
||||
}*/
|
||||
|
||||
// NumberResult 数字转换结果
|
||||
type NumberResult[ResultType op_type.Number] struct {
|
||||
Value ResultType `json:"value"`
|
||||
Err error `json:"err"`
|
||||
}
|
||||
|
||||
// NumberPtrResult 数字指针转换结果
|
||||
type NumberPtrResult[ResultType op_type.Number] struct {
|
||||
Value *ResultType `json:"value"`
|
||||
Err error `json:"err"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user