🚚 Rename getter methods
This commit is contained in:
parent
6e7400df4d
commit
ac5bbb08c0
3 changed files with 10 additions and 10 deletions
|
|
@ -26,7 +26,7 @@ type erf struct {
|
|||
msg string
|
||||
}
|
||||
|
||||
func (e *erf) Status() int {
|
||||
func (e *erf) GetStatus() int {
|
||||
return e.stat
|
||||
}
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ func (e *erf) Error() string {
|
|||
return e.msg
|
||||
}
|
||||
|
||||
func (e *erf) Msg() string {
|
||||
func (e *erf) GetMsg() string {
|
||||
return e.msg
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue