pb - Marshaling and Unmarshaling Protocol Buffers err := hx.Post(ctx, "https://api.example.com/contents", pb.Proto(&in), hx.WhenSuccess(pb.AsProto(&out)), hx.WhenFailure(hx.AsError()), )