From 51f3532d6483d44c8535227dcf36eb8a41c75492 Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Thu, 19 Sep 2024 22:44:51 -0600 Subject: [PATCH] Fix Message method names --- gigaparsec.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gigaparsec.go b/gigaparsec.go index a199d2c..f660679 100644 --- a/gigaparsec.go +++ b/gigaparsec.go @@ -81,18 +81,15 @@ type Message struct { expected []string } -// TODO rename -func (m Message) PosMethod() uint64 { +func (m Message) Pos() uint64 { return m.pos } -// TODO rename -func (m Message) GotMethod() string { +func (m Message) Got() string { return m.got } -// TODO rename -func (m Message) ExpectedMethod() []string { +func (m Message) Expected() []string { return m.expected }