all: Remove unused method receivers (#8462)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
deepsource-autofix[bot]
2022-07-28 17:32:45 +02:00
committed by GitHub
co-authored by deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
parent 388e4db9cd
commit 755d21953f
38 changed files with 129 additions and 129 deletions
+25 -25
View File
@@ -31,7 +31,7 @@ struct header {
*/
func (o header) XDRSize() int {
func (header) XDRSize() int {
return 4 + 4 + 4
}
@@ -78,26 +78,26 @@ struct Ping {
*/
func (o Ping) XDRSize() int {
func (Ping) XDRSize() int {
return 0
}
func (o Ping) MarshalXDR() ([]byte, error) {
func (Ping) MarshalXDR() ([]byte, error) {
return nil, nil
}
func (o Ping) MustMarshalXDR() []byte {
func (Ping) MustMarshalXDR() []byte {
return nil
}
func (o Ping) MarshalXDRInto(_ *xdr.Marshaller) error {
func (Ping) MarshalXDRInto(_ *xdr.Marshaller) error {
return nil
}
func (o *Ping) UnmarshalXDR(_ []byte) error {
func (*Ping) UnmarshalXDR(_ []byte) error {
return nil
}
func (o *Ping) UnmarshalXDRFrom(_ *xdr.Unmarshaller) error {
func (*Ping) UnmarshalXDRFrom(_ *xdr.Unmarshaller) error {
return nil
}
@@ -112,26 +112,26 @@ struct Pong {
*/
func (o Pong) XDRSize() int {
func (Pong) XDRSize() int {
return 0
}
func (o Pong) MarshalXDR() ([]byte, error) {
func (Pong) MarshalXDR() ([]byte, error) {
return nil, nil
}
func (o Pong) MustMarshalXDR() []byte {
func (Pong) MustMarshalXDR() []byte {
return nil
}
func (o Pong) MarshalXDRInto(_ *xdr.Marshaller) error {
func (Pong) MarshalXDRInto(_ *xdr.Marshaller) error {
return nil
}
func (o *Pong) UnmarshalXDR(_ []byte) error {
func (*Pong) UnmarshalXDR(_ []byte) error {
return nil
}
func (o *Pong) UnmarshalXDRFrom(_ *xdr.Unmarshaller) error {
func (*Pong) UnmarshalXDRFrom(_ *xdr.Unmarshaller) error {
return nil
}
@@ -146,26 +146,26 @@ struct JoinRelayRequest {
*/
func (o JoinRelayRequest) XDRSize() int {
func (JoinRelayRequest) XDRSize() int {
return 0
}
func (o JoinRelayRequest) MarshalXDR() ([]byte, error) {
func (JoinRelayRequest) MarshalXDR() ([]byte, error) {
return nil, nil
}
func (o JoinRelayRequest) MustMarshalXDR() []byte {
func (JoinRelayRequest) MustMarshalXDR() []byte {
return nil
}
func (o JoinRelayRequest) MarshalXDRInto(_ *xdr.Marshaller) error {
func (JoinRelayRequest) MarshalXDRInto(_ *xdr.Marshaller) error {
return nil
}
func (o *JoinRelayRequest) UnmarshalXDR(_ []byte) error {
func (*JoinRelayRequest) UnmarshalXDR(_ []byte) error {
return nil
}
func (o *JoinRelayRequest) UnmarshalXDRFrom(_ *xdr.Unmarshaller) error {
func (*JoinRelayRequest) UnmarshalXDRFrom(_ *xdr.Unmarshaller) error {
return nil
}
@@ -180,26 +180,26 @@ struct RelayFull {
*/
func (o RelayFull) XDRSize() int {
func (RelayFull) XDRSize() int {
return 0
}
func (o RelayFull) MarshalXDR() ([]byte, error) {
func (RelayFull) MarshalXDR() ([]byte, error) {
return nil, nil
}
func (o RelayFull) MustMarshalXDR() []byte {
func (RelayFull) MustMarshalXDR() []byte {
return nil
}
func (o RelayFull) MarshalXDRInto(_ *xdr.Marshaller) error {
func (RelayFull) MarshalXDRInto(_ *xdr.Marshaller) error {
return nil
}
func (o *RelayFull) UnmarshalXDR(_ []byte) error {
func (*RelayFull) UnmarshalXDR(_ []byte) error {
return nil
}
func (o *RelayFull) UnmarshalXDRFrom(_ *xdr.Unmarshaller) error {
func (*RelayFull) UnmarshalXDRFrom(_ *xdr.Unmarshaller) error {
return nil
}