1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Source: golang-github-oxtoacart-bpool
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Micah Anderson <micah@riseup.net>
Build-Depends: debhelper-compat (= 11),
dh-golang,
golang-any
Standards-Version: 4.3.0
Homepage: https://github.com/oxtoacart/bpool
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-oxtoacart-bpool
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-oxtoacart-bpool.git
XS-Go-Import-Path: github.com/oxtoacart/bpool
Testsuite: autopkgtest-pkg-go
Package: golang-github-oxtoacart-bpool-dev
Architecture: all
Depends: ${misc:Depends}
Description: Buffer/Byte pool for Go
bpool implements leaky pools of byte arrays and Buffers as bounded
channels.
.
A common use case for this package is to use buffers to execute HTML templates
against (via ExecuteTemplate) or encode JSON into (via json.NewEncoder). This
allows you to catch any rendering or marshalling errors prior to writing to
a http.ResponseWriter, which helps to avoid writing incomplete or malformed
data to the response.
|