Documentation ¶
Index ¶
- func Clone[M proto.Message](m M) M
- func CloneSlice[S ~[]M, M proto.Message](s S) S
- func MessageSlice[S []E, E proto.Message](s S) []proto.Message
- func ProtoSlice[S []E, E proto.Message](s []proto.Message) S
- func UnwrapBoolSlice(s []*wrapperspb.BoolValue) []bool
- func UnwrapBytesSlice(s []*wrapperspb.BytesValue) [][]byte
- func UnwrapFloat32Slice(s []*wrapperspb.FloatValue) []float32
- func UnwrapFloat64Slice(s []*wrapperspb.DoubleValue) []float64
- func UnwrapInt32Slice(s []*wrapperspb.Int32Value) []int32
- func UnwrapInt64Slice(s []*wrapperspb.Int64Value) []int64
- func UnwrapStringSlice(s []*wrapperspb.StringValue) []string
- func UnwrapUint32Slice(s []*wrapperspb.UInt32Value) []uint32
- func UnwrapUint64Slice(s []*wrapperspb.UInt64Value) []uint64
- func WrapBoolSlice(s []bool) []*wrapperspb.BoolValue
- func WrapBytesSlice(s [][]byte) []*wrapperspb.BytesValue
- func WrapFloat32Slice(s []float32) []*wrapperspb.FloatValue
- func WrapFloat64Slice(s []float64) []*wrapperspb.DoubleValue
- func WrapInt32Slice(s []int32) []*wrapperspb.Int32Value
- func WrapInt64Slice(s []int64) []*wrapperspb.Int64Value
- func WrapStringSlice(s []string) []*wrapperspb.StringValue
- func WrapUint32Slice(s []uint32) []*wrapperspb.UInt32Value
- func WrapUint64Slice(s []uint64) []*wrapperspb.UInt64Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneSlice ¶
func UnwrapBoolSlice ¶
func UnwrapBoolSlice(s []*wrapperspb.BoolValue) []bool
func UnwrapBytesSlice ¶
func UnwrapBytesSlice(s []*wrapperspb.BytesValue) [][]byte
func UnwrapFloat32Slice ¶
func UnwrapFloat32Slice(s []*wrapperspb.FloatValue) []float32
func UnwrapFloat64Slice ¶
func UnwrapFloat64Slice(s []*wrapperspb.DoubleValue) []float64
func UnwrapInt32Slice ¶
func UnwrapInt32Slice(s []*wrapperspb.Int32Value) []int32
func UnwrapInt64Slice ¶
func UnwrapInt64Slice(s []*wrapperspb.Int64Value) []int64
func UnwrapStringSlice ¶
func UnwrapStringSlice(s []*wrapperspb.StringValue) []string
func UnwrapUint32Slice ¶
func UnwrapUint32Slice(s []*wrapperspb.UInt32Value) []uint32
func UnwrapUint64Slice ¶
func UnwrapUint64Slice(s []*wrapperspb.UInt64Value) []uint64
func WrapBoolSlice ¶
func WrapBoolSlice(s []bool) []*wrapperspb.BoolValue
func WrapBytesSlice ¶
func WrapBytesSlice(s [][]byte) []*wrapperspb.BytesValue
func WrapFloat32Slice ¶
func WrapFloat32Slice(s []float32) []*wrapperspb.FloatValue
func WrapFloat64Slice ¶
func WrapFloat64Slice(s []float64) []*wrapperspb.DoubleValue
func WrapInt32Slice ¶
func WrapInt32Slice(s []int32) []*wrapperspb.Int32Value
func WrapInt64Slice ¶
func WrapInt64Slice(s []int64) []*wrapperspb.Int64Value
func WrapStringSlice ¶
func WrapStringSlice(s []string) []*wrapperspb.StringValue
func WrapUint32Slice ¶
func WrapUint32Slice(s []uint32) []*wrapperspb.UInt32Value
func WrapUint64Slice ¶
func WrapUint64Slice(s []uint64) []*wrapperspb.UInt64Value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.