Skip to content

bytepowered/goes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goes - 复制自字节跳动的gopkg仓库的gopool,独立仓库

Introduction

gopool is a high-performance goroutine pool which aims to reuse goroutines and limit the number of goroutines.

It is an alternative to the go keyword.

Features

  • High Performance
  • Auto-recovering Panics
  • Limit Goroutine Numbers
  • Reuse Goroutine Stack

QuickStart

go get -u github.com/bytepowered/goes

Just replace your go func(){...} with goes.Go(func(){...}).

old:

go func() {
	// do your job
}()

new:

goes.Go(func(){
	/// do your job
})

About

Go pool, a copy of bytedance utils go pool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages