google.golang.org/protobuf/reflect/protoreflect.value.typ (field)
25 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
value_union.go#L98: return Value{typ: boolType, num: 1}
value_union.go#L100: return Value{typ: boolType, num: 0}
value_union.go#L106: return Value{typ: int32Type, num: uint64(v)}
value_union.go#L111: return Value{typ: int64Type, num: uint64(v)}
value_union.go#L116: return Value{typ: uint32Type, num: uint64(v)}
value_union.go#L121: return Value{typ: uint64Type, num: v}
value_union.go#L126: return Value{typ: float32Type, num: uint64(math.Float64bits(float64(v)))}
value_union.go#L131: return Value{typ: float64Type, num: uint64(math.Float64bits(float64(v)))}
value_union.go#L146: return Value{typ: enumType, num: uint64(v)}
value_union.go#L166: return v.typ != nilType
value_union.go#L173: switch v.typ {
value_union.go#L202: switch v.typ {
value_union.go#L245: switch v.typ {
value_union.go#L255: switch v.typ {
value_union.go#L265: switch v.typ {
value_union.go#L275: switch v.typ {
value_union.go#L286: switch v.typ {
value_union.go#L296: switch v.typ {
value_union.go#L306: switch v.typ {
value_union.go#L346: switch v.typ {
value_unsafe.go#L61: typ unsafe.Pointer // 8B
value_unsafe.go#L76: return Value{typ: stringType, ptr: p.Data, num: uint64(len(v))}
value_unsafe.go#L80: return Value{typ: bytesType, ptr: p.Data, num: uint64(len(v))}
value_unsafe.go#L84: return Value{typ: p.Type, ptr: p.Data}
value_unsafe.go#L96: *(*ifaceHeader)(unsafe.Pointer(&x)) = ifaceHeader{Type: v.typ, Data: v.ptr}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |