gin-go @ v1.0rc1
integrity
- size
- 98.2 KiB
- downloaded
- last checked
- detected
- raw version: universal archives only
release notes
- [PERFORMANCE] Zero allocation router
- [PERFORMANCE] Faster JSON, XML and text rendering
- [PERFORMANCE] Custom hand optimized HttpRouter for Gin
- [PERFORMANCE] Misc code optimizations. Inlining, tail call optimizations
- [NEW] Built-in support for golang.org/x/net/context
- [NEW] Any(path, handler). Create a route that matches any path
- [NEW] Refactored rendering pipeline (faster and static typeded)
- [NEW] Refactored errors API
- [NEW] IndentedJSON() prints pretty JSON
- [NEW] Added gin.DefaultWriter
- [NEW] UNIX socket support
- [NEW] RouterGroup.BasePath is exposed
- [NEW] JSON validation using go-validate-yourself (very powerful options)
- [NEW] Completed suite of unit tests
- [NEW] HTTP streaming with c.Stream()
- [NEW] StaticFile() creates a router for serving just one file.
- [NEW] StaticFS() has an option to disable directory listing.
- [NEW] StaticFS() for serving static files through virtual filesystems
- [NEW] Server-Sent Events native support
- [NEW] WrapF() and WrapH() helpers for wrapping http.HandlerFunc and http.Handler
- [NEW] Added LoggerWithWriter() middleware
- [NEW] Added RecoveryWithWriter() middleware
- [NEW] Added DefaultPostFormValue()
- [NEW] Added DefaultFormValue()
- [NEW] Added DefaultParamValue()
- [FIX] BasicAuth() when using custom realm
- [FIX] Bug when serving static files in nested routing group
- [FIX] Redirect using built-in http.Redirect()
- [FIX] Logger when printing the requested path
- [FIX] Documentation typos
- [FIX] Context.Engine renamed to Context.engine
- [FIX] Better debugging messages
- [FIX] ErrorLogger
- [FIX] Debug HTTP render
- [FIX] Refactored binding and render modules
- [FIX] Refactored Context initialization
- [FIX] Refactored BasicAuth()
- [FIX] NoMethod/NoRoute handlers
- [FIX] Hijacking http
- [FIX] Better support for Google App Engine (using log instead of fmt)
download
unix · zip
curl -fL -o v1.0rc1.zip https://ratatoskr.space/pkg/gin-go/v1.0rc1.zip
printf '%s %s\n' '2ab8c42023c0805f6e08f1988cac24e341858d8196241a4fefdab067cb6584a6' 'v1.0rc1.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/gin-go/v1.0rc1.zip"
$out = "v1.0rc1.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "2ab8c42023c0805f6e08f1988cac24e341858d8196241a4fefdab067cb6584a6") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.0rc1.tar.gz https://ratatoskr.space/pkg/gin-go/v1.0rc1.tar.gz
printf '%s %s\n' 'b636ce24c7f9b4c311bf7ca7a30d775f2f533a833e62b90824f8cdafa77065d9' 'v1.0rc1.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/gin-go/v1.0rc1.tar.gz"
$out = "v1.0rc1.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "b636ce24c7f9b4c311bf7ca7a30d775f2f533a833e62b90824f8cdafa77065d9") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.0rc1.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gin-go/v1.0rc1.zip
printf '%s %s\n' '2ab8c42023c0805f6e08f1988cac24e341858d8196241a4fefdab067cb6584a6' 'v1.0rc1.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gin-go/v1.0rc1.zip"
$out = "v1.0rc1.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "2ab8c42023c0805f6e08f1988cac24e341858d8196241a4fefdab067cb6584a6") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.0rc1.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gin-go/v1.0rc1.tar.gz
printf '%s %s\n' 'b636ce24c7f9b4c311bf7ca7a30d775f2f533a833e62b90824f8cdafa77065d9' 'v1.0rc1.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gin-go/v1.0rc1.tar.gz"
$out = "v1.0rc1.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "b636ce24c7f9b4c311bf7ca7a30d775f2f533a833e62b90824f8cdafa77065d9") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.0rc1.zip | zip | 98.9 KiB |
blake3-24 b7561bcfd43bf203e60d7f72cd60fbaebf2d8da351670df1
sha256 2ab8c42023c0805f6e08f1988cac24e341858d8196241a4fefdab067cb6584a6
sha1 f6c529608709b47735379013f2afd4f725e709c9
|
| v1.0rc1.tar.gz | tar.gz | 74.4 KiB |
blake3-24 393b9f29ca54af66dbcd5f83d25c76973c030bca739f39a7
sha256 b636ce24c7f9b4c311bf7ca7a30d775f2f533a833e62b90824f8cdafa77065d9
sha1 1ee782b78d9cffafac0edae2baab608a1119e65f
|
install
bazel
http_archive(
name = "gin-go",
urls = ["https://ratatoskr.space/pkg/gin-go/v1.0rc1.tar.gz"],
integrity = "sha256-tjbOJMf5tMMRv3ynow13Xy9TOoM+YrkIJPjNr6dwZdk=",
strip_prefix = "gin-go-v1.0rc1",
)
zig
.url = "https://ratatoskr.space/pkg/gin-go/v1.0rc1.tar.gz",
install via yggdrasil mesh
bazel
http_archive(
name = "gin-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gin-go/v1.0rc1.tar.gz"],
integrity = "sha256-tjbOJMf5tMMRv3ynow13Xy9TOoM+YrkIJPjNr6dwZdk=",
strip_prefix = "gin-go-v1.0rc1",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gin-go/v1.0rc1.tar.gz",