Gin 1.3.0 is released
Konten ini belum tersedia dalam bahasa Anda.
CHANGELOG
- [NEW] Add func (*Context) QueryMap,func (*Context) GetQueryMap,func (*Context) PostFormMapandfunc (*Context) GetPostFormMapto supporttype map[string]stringas query string or form parameters, see #1383
- [NEW] Add func (*Context) AsciiJSON, see #1358
- [NEW] Add Pusher()intype ResponseWriterfor supporting http2 push, see #1273
- [NEW] Add func (*Context) DataFromReaderfor serving dynamic data, see #1304
- [NEW] Add func (*Context) ShouldBindBodyWithallowing to call binding multiple times, see #1341
- [NEW] Support pointers in form binding, see #1336
- [NEW] Add func (*Context) JSONP, see #1333
- [NEW] Support default value in form binding, see #1138
- [NEW] Expose validator engine in type StructValidator, see #1277
- [NEW] Add func (*Context) ShouldBind,func (*Context) ShouldBindQueryandfunc (*Context) ShouldBindJSON, see #1047
- [NEW] Add support for time.Timelocation in form binding, see #1117
- [NEW] Add func (*Context) BindQuery, see #1029
- [NEW] Make jsonite optional with build tags, see #1026
- [NEW] Show query string in logger, see #999
- [NEW] Add func (*Context) SecureJSON, see #987 and #993
- [DEPRECATE] func (*Context) GetCookieforfunc (*Context) Cookie
- [FIX] Don’t display color tags if func DisableConsoleColorcalled, see #1072
- [FIX] Gin Mode ""when callingfunc Modenow returnsconst DebugMode, see #1250
- [FIX] Flush()now doesn’t overwriteresponseWriterstatus code, see #1460
