Fix Message method names

This commit is contained in:
Brandon Dyck 2024-09-19 22:44:51 -06:00
parent 1436be3c10
commit 51f3532d64

View File

@ -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
}