Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> devel >> golang-github-oxtoacart-bpool-dev
nabia  ] [  aramo  ]
[ 原始碼: golang-github-oxtoacart-bpool  ]

套件: golang-github-oxtoacart-bpool-dev (0.0~git20150712.4e1c556-1.1)

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.

下載 golang-github-oxtoacart-bpool-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4.2 kB22 kB [文件列表]