mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 16:30:19 +00:00
27 lines
492 B
Go
27 lines
492 B
Go
package tests
|
|
|
|
//easyjson:json
|
|
type ErrorIntSlice []int
|
|
|
|
//easyjson:json
|
|
type ErrorBoolSlice []bool
|
|
|
|
//easyjson:json
|
|
type ErrorUintSlice []uint
|
|
|
|
//easyjson:json
|
|
type ErrorStruct struct {
|
|
Int int `json:"int"`
|
|
String string `json:"string"`
|
|
Slice []int `json:"slice"`
|
|
IntSlice []int `json:"int_slice"`
|
|
}
|
|
|
|
type ErrorNestedStruct struct {
|
|
ErrorStruct ErrorStruct `json:"error_struct"`
|
|
Int int `json:"int"`
|
|
}
|
|
|
|
//easyjson:json
|
|
type ErrorIntMap map[uint32]string
|