[#127] apistatus: Fix grammar of fromStatusV2
method docs
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
0fb22361a3
commit
9414f42aa3
3 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ func (x ServerInternal) Error() string {
|
|||
)
|
||||
}
|
||||
|
||||
// implements method of the FromStatusV2 local interface.
|
||||
// implements local interface defined in FromStatusV2 func.
|
||||
func (x *ServerInternal) fromStatusV2(st *status.Status) {
|
||||
x.v2 = *st
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ func (x WrongMagicNumber) Error() string {
|
|||
)
|
||||
}
|
||||
|
||||
// implements method of the FromStatusV2 local interface.
|
||||
// implements local interface defined in FromStatusV2 func.
|
||||
func (x *WrongMagicNumber) fromStatusV2(st *status.Status) {
|
||||
x.v2 = *st
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue