From 1f572263cbbd86437594ffcb59421463d2625d2f Mon Sep 17 00:00:00 2001 From: Eli Yip Date: Tue, 27 May 2025 15:25:25 +0800 Subject: [PATCH] chore: add HandType type --- define/hands.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/define/hands.go b/define/hands.go index aadc2e3..54cd472 100644 --- a/define/hands.go +++ b/define/hands.go @@ -1,4 +1,8 @@ package define -const HAND_TYPE_LEFT = 0x28 -const HAND_TYPE_RIGHT = 0x27 \ No newline at end of file +type HandType int + +const ( + HAND_TYPE_LEFT HandType = 0x28 + HAND_TYPE_RIGHT HandType = 0x27 +)