• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.build/H23-Feb-2018-

internal/H23-Feb-2018-

maxprocs/H23-Feb-2018-

.codecov.ymlH A D23-Feb-2018762

.gitignoreH A D23-Feb-2018306

.travis.ymlH A D23-Feb-2018180

CHANGELOG.mdH A D23-Feb-2018553

CODE_OF_CONDUCT.mdH A D23-Feb-20183.1 KiB

CONTRIBUTING.mdH A D23-Feb-20182.4 KiB

LICENSEH A D23-Feb-20181 KiB

MakefileH A D23-Feb-20181.6 KiB

README.mdH A D23-Feb-20181.4 KiB

automaxprocs.goH A D23-Feb-20181.4 KiB

example_test.goH A D23-Feb-20181.3 KiB

glide.lockH A D23-Feb-2018495

glide.yamlH A D23-Feb-2018140

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