(v string)
| 180 | } |
| 181 | |
| 182 | func (s *protoSink) SetString(v string) error { |
| 183 | b := []byte(v) |
| 184 | err := proto.Unmarshal(b, s.dst) |
| 185 | if err != nil { |
| 186 | return err |
| 187 | } |
| 188 | s.v.b = b |
| 189 | s.v.s = "" |
| 190 | return nil |
| 191 | } |
| 192 | |
| 193 | func (s *protoSink) SetProto(m proto.Message) error { |
| 194 | b, err := proto.Marshal(m) |
nothing calls this directly
no outgoing calls
no test coverage detected