fix(codec/types): fix struct tag value (#18945)

This commit is contained in:
hattizai
2024-01-04 15:50:59 +00:00
committed by GitHub
parent b729e981f1
commit d520fcf7cc
+1 -1
View File
@@ -8,7 +8,7 @@ import (
)
type Dog struct {
Name string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (d Dog) Greet() string { return d.Name }