BytesValue well-known type support as wrapper around bytes[] type
(val string)
| 313 | |
| 314 | // BytesValue well-known type support as wrapper around bytes[] type |
| 315 | func BytesValue(val string) (*wrapperspb.BytesValue, error) { |
| 316 | parsedVal, err := Bytes(val) |
| 317 | return wrapperspb.Bytes(parsedVal), err |
| 318 | } |
no test coverage detected