Skip to content

Commit

Permalink
Remove unused type from vtprotocodec.go
Browse files Browse the repository at this point in the history
  • Loading branch information
vanja-p committed Dec 13, 2024
1 parent 5184703 commit 4c08a9b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/util/vtprotocodec/vtprotocodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ const Name = "proto"
// proto messages.
type vtprotoCodec struct{}

type vtprotoMessage interface {
MarshalVT() ([]byte, error)
UnmarshalVT([]byte) error
}

func (vtprotoCodec) Marshal(v any) ([]byte, error) {
vv, ok := v.(proto.Message)
if !ok {
Expand Down

0 comments on commit 4c08a9b

Please sign in to comment.