Merge pull request #146 from unistack-org/codec_noop_fix
codec: fix noop
This commit is contained in:
commit
91701e7a45
@ -107,7 +107,6 @@ func (c *noopCodec) Unmarshal(d []byte, v interface{}, opts ...Option) error {
|
||||
*ve = string(d)
|
||||
return nil
|
||||
case []byte:
|
||||
ve = make([]byte, len(d))
|
||||
copy(ve, d)
|
||||
return nil
|
||||
case *[]byte:
|
||||
|
Loading…
Reference in New Issue
Block a user