Closed janishorsts closed 1 year ago
pkg/model
pkg/transform
transform.MessageFromProto()
transform.MessageToProtobuf()
type Message struct { ID string Message string Fuzzy bool } type Messages struct { Language string Messages []Message }
pkg/model
package.pkg/transform
to transform between protobuf generated models andpkg/model
. E.g.transform.MessageFromProto()
andtransform.MessageToProtobuf()
.