Skip to content
This repository was archived by the owner on Feb 20, 2018. It is now read-only.

lestrrat/go-bufferpool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-bufferpool

Very simple bytes.Buffer pool using sync.Pool.

Build Status

GoDoc

I got tired of writing the same sync.Pool for byte.Buffer objects.

WARNING

This repository has been moved to github.com/lestrrat-go/bufferpool. This repository exists so that libraries pointing to this URL will keep functioning, but this repository will NOT be updated in the future. Please use the new import path.

SYNOPSIS

import "github.com/lestrrat/go-bufferpool"

var pool = bufferpool.New()

func main() {
    buf := pool.Get()
    defer pool.Release(buf)

    // ...
}

About

[MOVED] See github.com/lestrrat-go/bufferpool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages