Closed utrack closed 4 years ago
service Strings { rpc ToUpper(String) returns (Empty) { option (google.api.http) = { put : "/strings/{sub.id}" body : "sub" additional_bindings {patch : "/strings/{sub.id}" body : "sub"} }; } }
HTTP query builder uses proto member names instead of Go names:
u := url.URL{ Path: fmt.Sprintf("/strings/%v", in.sub.Id), RawQuery: values.Encode(), }
HTTP query builder uses proto member names instead of Go names: