mirror of
https://github.com/jwetzell/free-d-go.git
synced 2026-08-20 14:19:00 +00:00
move pkg to root level
This commit is contained in:
@@ -49,7 +49,6 @@ func Encode(message FreeDPosition) []byte {
|
||||
}
|
||||
|
||||
func Decode(bytes []byte) (FreeDPosition, error) {
|
||||
|
||||
if len(bytes) != 29 {
|
||||
return FreeDPosition{}, errors.New("FreeD packet must be 29 bytes long")
|
||||
}
|
||||
Reference in New Issue
Block a user