integrate request builder into HTTP client for googleapis support (#157)
This commit is contained in:
15
builder/proto/errors.pb.go
Normal file
15
builder/proto/errors.pb.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package proto
|
||||
|
||||
import "google.golang.org/protobuf/encoding/protojson"
|
||||
|
||||
var marshaler = protojson.MarshalOptions{}
|
||||
|
||||
func (m *Test_Client_Call_DefaultError) Error() string {
|
||||
buf, _ := marshaler.Marshal(m)
|
||||
return string(buf)
|
||||
}
|
||||
|
||||
func (m *Test_Client_Call_SpecialError) Error() string {
|
||||
buf, _ := marshaler.Marshal(m)
|
||||
return string(buf)
|
||||
}
|
Reference in New Issue
Block a user