Gin Web Framework
Gin is a web framework written in Go (Golang). It features a martini-like API with much better performance, up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.
API Examples
- Using GET,POST,PUT,PATCH,DELETE and OPTIONS
- Parameters in path
- Querystring parameters
- Multipart/Urlencoded Form
- Another example: query + post form
- Upload files
- Grouping routes
- Blank Gin without middleware by default
- Using middleware
- How to write log file
- Model binding and validation
- Custom Validators
- Only Bind Query String
- Bind Query String or Post Data
- Bind HTML checkboxes
- Multipart/Urlencoded binding
- XML, JSON and YAML rendering
- Serving static files
- Serving data from reader
- HTML rendering
- Multitemplate
- Redirects
- Custom Middleware
- Using BasicAuth() middleware
- Goroutines inside a middleware
- Custom HTTP configuration
- Support Let’s Encrypt
- Run multiple service using Gin
- Graceful restart or stop
- Build a single binary with templates
- Bind form-data request with custom struct
- Try to bind body into different structs
- http2 server push