diff --git a/src/oca/go/src/goca/goca.go b/src/oca/go/src/goca/goca.go index d62324b5f43..21911c240bf 100644 --- a/src/oca/go/src/goca/goca.go +++ b/src/oca/go/src/goca/goca.go @@ -48,10 +48,9 @@ type oneClient struct { } type response struct { - status bool - body string - bodyInt int - bodyBool bool + status bool + body string + bodyInt int } // Initializes the client variable, used as a singleton @@ -140,8 +139,7 @@ func (c *oneClient) endpointCall(url string, method string, args ...interface{}) status bool body string bodyInt int64 - bodyBool bool - errCode int64 + errCode int64 ) xmlArgs := make([]interface{}, len(args)+1) @@ -232,7 +230,7 @@ func (c *oneClient) endpointCall(url string, method string, args ...interface{}) } } - r := &response{status, body, int(bodyInt), bodyBool} + r := &response{status, body, int(bodyInt)} return r, nil }