Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
WriteString
(#2508)mode.go
(#2129)net.Listener
with Engine.RunListener() #2023
Engine.RunUnix()
now returns the error if it can't change the file mode #2093
RouterGroup.StaticFS()
leaked files. Now it closes them. #2118
Context.Request.FormFile
leaked file, now it closes it #2114
form:"-"
mapping #1943
func (*Context) QueryMap
, func (*Context) GetQueryMap
, func (*Context) PostFormMap
and func (*Context) GetPostFormMap
to support type map[string]string
as query string or form parameters, see #1383
func (*Context) AsciiJSON
, see #1358
Pusher()
in type ResponseWriter
for supporting http2 push, see #1273
func (*Context) DataFromReader
for serving dynamic data, see #1304
func (*Context) ShouldBindBodyWith
allowing to call binding multiple times, see #1341
func (*Context) JSONP
, see #1333
type StructValidator
, see #1277
func (*Context) ShouldBind
, func (*Context) ShouldBindQuery
and func (*Context) ShouldBindJSON
, see #1047
time.Time
location in form binding, see #1117
func (*Context) BindQuery
, see #1029
func (*Context) SecureJSON
, see #987 and #993
func (*Context) GetCookie
for func (*Context) Cookie
func DisableConsoleColor
called, see #1072
""
when calling func Mode
now returns const DebugMode
, see #1250
Flush()
now doesn't overwrite responseWriter
status code, see #1460