Skip to content
Sections
>> Trisquel >> Пакети >> nabia >> devel >> golang-github-oxtoacart-bpool-dev
nabia  ] [  aramo  ]
[ Източник: golang-github-oxtoacart-bpool  ]

Пакет: golang-github-oxtoacart-bpool-dev (0.0~git20150712.4e1c556-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,0 кБ22 кБ [списък на файловете]