Fix Message method names
This commit is contained in:
parent
1436be3c10
commit
51f3532d64
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user