Skip to content
This repository was archived by the owner on Jan 10, 2021. It is now read-only.
This repository was archived by the owner on Jan 10, 2021. It is now read-only.

[]bytes tries to convert to []uint8 #3

@domgolonka

Description

@domgolonka

yaml:
key: "MYRANDOMEKEY"

proto:
bytes key = 1 [(gogoproto.moretags) = "yaml:",omitempty""];

proto.go
Key []byte protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" yaml:",omitempty"

{"level":"fatal","error":"yaml: unmarshal errors:\n line 86: cannot unmarshal !!str MYRANDOMEKEY... into []uint8","time":"2020-07-03T21:33:59-07:00"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions