You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: switch to msgpack for message encoding/decoding
- Add `github.com/vmihailenco/msgpack/v5` and `github.com/vmihailenco/tagparser/v2` dependencies to `go.mod`
- Remove `unsafe` import from `job.go`
- Add `msgpack` tags to `Message` struct fields
- Remove `movementSize` constant and its usage
- Replace unsafe pointer encoding/decoding with `msgpack` encoding/decoding in `Encode` and `Decode` functions
Signed-off-by: appleboy <appleboy.tw@gmail.com>
0 commit comments