refactor: add interface check

This commit is contained in:
Derrick Hammer 2024-01-09 06:54:46 -05:00
parent 75db7bcc7a
commit 04611d83eb
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,12 @@ import (
"github.com/vmihailenco/msgpack/v5" "github.com/vmihailenco/msgpack/v5"
) )
var (
_ interfaces.NodeVotes = (*NodeVotesImpl)(nil)
_ msgpack.CustomDecoder = (*NodeVotesImpl)(nil)
_ msgpack.CustomEncoder = (*NodeVotesImpl)(nil)
)
type NodeVotesImpl struct { type NodeVotesImpl struct {
good int good int
bad int bad int