type github.com/golang/protobuf/ptypes/struct.Value
10 uses
github.com/golang/protobuf/ptypes/struct (current package)
struct.pb.go#L23: type Value = structpb.Value
cloud.google.com/go/logging
logging.go#L738: fields := map[string]*structpb.Value{}
logging.go#L745: func jsonValueToStructValue(v interface{}) *structpb.Value {
logging.go#L748: return &structpb.Value{Kind: &structpb.Value_BoolValue{BoolValue: x}}
logging.go#L750: return &structpb.Value{Kind: &structpb.Value_NumberValue{NumberValue: x}}
logging.go#L752: return &structpb.Value{Kind: &structpb.Value_StringValue{StringValue: x}}
logging.go#L754: return &structpb.Value{Kind: &structpb.Value_NullValue{}}
logging.go#L756: return &structpb.Value{Kind: &structpb.Value_StructValue{StructValue: jsonMapToProtoStruct(x)}}
logging.go#L758: var vals []*structpb.Value
logging.go#L762: return &structpb.Value{Kind: &structpb.Value_ListValue{ListValue: &structpb.ListValue{Values: vals}}}
![]() |
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. |