gin/render
aljun efdd3c8b81 Add support for Protobuf format response and unit test (#1479)
`Gin` now have the `protobufBinding` function to check the request format, but didn't have a protobuf response function like `c.YAML()`.
In our company [ByteDance](http://bytedance.com/), the largest internet company using golang in China, we use `gin` to transfer __Protobuf__  instead of __Json__, we have to write some internal library to make some wrappers to achieve that, and the code is not elegant. So we really want such a feature.
2018-08-19 10:45:56 +08:00
..
data.go update comment (#1057) 2017-08-16 11:55:50 +08:00
html.go Empty string check (#1101) 2017-09-29 00:22:35 +08:00
json.go add json ASCII string render (#1358) 2018-07-03 17:17:08 +08:00
msgpack.go Added support for MessagePack binding and rendering (#808) 2017-02-23 22:08:37 +08:00
protobuf.go Add support for Protobuf format response and unit test (#1479) 2018-08-19 10:45:56 +08:00
reader.go Serve easily dynamic files with `DataFromReader` context method (#1304) 2018-05-12 11:00:42 +08:00
redirect.go chore: use http.Status* instead of hard code (#1482) 2018-08-14 09:51:56 +08:00
render.go Add support for Protobuf format response and unit test (#1479) 2018-08-19 10:45:56 +08:00
render_test.go Add support for Protobuf format response and unit test (#1479) 2018-08-19 10:45:56 +08:00
text.go Fix #198 (#781) 2017-01-09 16:24:48 +01:00
xml.go Fix #198 (#781) 2017-01-09 16:24:48 +01:00
yaml.go Fix #198 (#781) 2017-01-09 16:24:48 +01:00