automaxprocs

Automatically set GOMAXPROCS to match Linux container CPU quota.

This package is silent version of original Uber package.

Please read original documentation: GoDoc

Installation

go get -u github.com/gonevo/automaxprocs

Quick Start

import _ "github.com/gonevo/automaxprocs"

func main() {
  // Your application logic here.
}

.

GitHub

View Github