Rendering
Это содержимое пока не доступно на вашем языке.
Gin supports rendering responses in multiple formats including JSON, XML, YAML, ProtoBuf, HTML, and more. This section covers the various rendering options available and how to serve static files and data.
This section covers:
- XML/JSON/YAML/ProtoBuf rendering
- SecureJSON, JSONP, AsciiJSON, PureJSON
- Serving static files and data from files or readers
- HTML template rendering
- Using multiple templates
- Embedding templates in a single binary