对string类型的包装
This commit is contained in:
140
define.go
140
define.go
@ -203,3 +203,143 @@ type StringResult struct {
|
||||
Value string
|
||||
Err error
|
||||
}
|
||||
|
||||
// Int8SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:49 2023/5/8
|
||||
type Int8SliceResult struct {
|
||||
Value []int8
|
||||
Err error
|
||||
}
|
||||
|
||||
// Int16SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:49 2023/5/8
|
||||
type Int16SliceResult struct {
|
||||
Value []int16
|
||||
Err error
|
||||
}
|
||||
|
||||
// Int32SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:50 2023/5/8
|
||||
type Int32SliceResult struct {
|
||||
Value []int32
|
||||
Err error
|
||||
}
|
||||
|
||||
// Int64SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:50 2023/5/8
|
||||
type Int64SliceResult struct {
|
||||
Value []int64
|
||||
Err error
|
||||
}
|
||||
|
||||
// IntSliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:50 2023/5/8
|
||||
type IntSliceResult struct {
|
||||
Value []int
|
||||
Err error
|
||||
}
|
||||
|
||||
// Uint8SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:55 2023/5/8
|
||||
type Uint8SliceResult struct {
|
||||
Value []uint8
|
||||
Err error
|
||||
}
|
||||
|
||||
// Uint16SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:55 2023/5/8
|
||||
type Uint16SliceResult struct {
|
||||
Value []uint16
|
||||
Err error
|
||||
}
|
||||
|
||||
// Uint32SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:55 2023/5/8
|
||||
type Uint32SliceResult struct {
|
||||
Value []uint32
|
||||
Err error
|
||||
}
|
||||
|
||||
// Uint64SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:55 2023/5/8
|
||||
type Uint64SliceResult struct {
|
||||
Value []uint64
|
||||
Err error
|
||||
}
|
||||
|
||||
// UintSliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:56 2023/5/8
|
||||
type UintSliceResult struct {
|
||||
Value []uint
|
||||
Err error
|
||||
}
|
||||
|
||||
// BoolSliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 18:22 2023/5/8
|
||||
type BoolSliceResult struct {
|
||||
Value []bool
|
||||
Err error
|
||||
}
|
||||
|
||||
// Float32SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 18:24 2023/5/8
|
||||
type Float32SliceResult struct {
|
||||
Value []float32
|
||||
Err error
|
||||
}
|
||||
|
||||
// Float64SliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 18:24 2023/5/8
|
||||
type Float64SliceResult struct {
|
||||
Value []float64
|
||||
Err error
|
||||
}
|
||||
|
||||
// AnySliceResult ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 18:28 2023/5/8
|
||||
type AnySliceResult struct {
|
||||
Value []interface{}
|
||||
Err error
|
||||
}
|
||||
|
Reference in New Issue
Block a user