Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.build/ | H | 23-Feb-2018 | - | |||
internal/ | H | 23-Feb-2018 | - | |||
maxprocs/ | H | 23-Feb-2018 | - | |||
.codecov.yml | H A D | 23-Feb-2018 | 762 | |||
.gitignore | H A D | 23-Feb-2018 | 306 | |||
.travis.yml | H A D | 23-Feb-2018 | 180 | |||
CHANGELOG.md | H A D | 23-Feb-2018 | 553 | |||
CODE_OF_CONDUCT.md | H A D | 23-Feb-2018 | 3.1 KiB | |||
CONTRIBUTING.md | H A D | 23-Feb-2018 | 2.4 KiB | |||
LICENSE | H A D | 23-Feb-2018 | 1 KiB | |||
Makefile | H A D | 23-Feb-2018 | 1.6 KiB | |||
README.md | H A D | 23-Feb-2018 | 1.4 KiB | |||
automaxprocs.go | H A D | 23-Feb-2018 | 1.4 KiB | |||
example_test.go | H A D | 23-Feb-2018 | 1.3 KiB | |||
glide.lock | H A D | 23-Feb-2018 | 495 | |||
glide.yaml | H A D | 23-Feb-2018 | 140 |
README.md
1# automaxprocs [![GoDoc][doc-img]][doc] [![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov] 2 3Automatically set `GOMAXPROCS` to match Linux container CPU quota. 4 5## Installation 6 7`go get -u go.uber.org/automaxprocs` 8 9## Quick Start 10 11```go 12import _ "go.uber.org/automaxprocs" 13 14func main() { 15 // Your application logic here. 16} 17``` 18 19## Development Status: Stable 20 21All APIs are finalized, and no breaking changes will be made in the 1.x series 22of releases. Users of semver-aware dependency management systems should pin 23automaxprocs to `^1`. 24 25## Contributing 26 27We encourage and support an active, healthy community of contributors — 28including you! Details are in the [contribution guide](CONTRIBUTING.md) and 29the [code of conduct](CODE_OF_CONDUCT.md). The automaxprocs maintainers keep 30an eye on issues and pull requests, but you can also report any negative 31conduct to oss-conduct@uber.com. That email list is a private, safe space; 32even the automaxprocs maintainers don't have access, so don't hesitate to hold 33us to a high standard. 34 35<hr> 36 37Released under the [MIT License](LICENSE). 38 39[doc-img]: https://godoc.org/go.uber.org/automaxprocs?status.svg 40[doc]: https://godoc.org/go.uber.org/automaxprocs 41[ci-img]: https://travis-ci.org/uber-go/automaxprocs.svg?branch=master 42[ci]: https://travis-ci.org/uber-go/automaxprocs 43[cov-img]: https://codecov.io/gh/uber-go/automaxprocs/branch/master/graph/badge.svg 44[cov]: https://codecov.io/gh/uber-go/automaxprocs 45 46 47