| 1 |
Source: golang-github-timandy-routine |
| 2 |
Section: golang |
| 3 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 4 |
Uploaders: |
| 5 |
Simon Josefsson <[email protected]>, |
| 6 |
Build-Depends: |
| 7 |
debhelper-compat (= 13), |
| 8 |
dh-sequence-golang, |
| 9 |
dpkg-build-api (= 1), |
| 10 |
golang-any, |
| 11 |
golang-github-stretchr-testify-dev, |
| 12 |
Testsuite: autopkgtest-pkg-go |
| 13 |
Standards-Version: 4.7.4 |
| 14 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-timandy-routine |
| 15 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-timandy-routine.git |
| 16 |
Homepage: https://github.com/timandy/routine |
| 17 |
XS-Go-Import-Path: github.com/timandy/routine |
| 18 |
|
| 19 |
Package: golang-github-timandy-routine-dev |
| 20 |
Architecture: all |
| 21 |
Multi-Arch: foreign |
| 22 |
Depends: |
| 23 |
golang-github-stretchr-testify-dev, |
| 24 |
${misc:Depends}, |
| 25 |
Description: ThreadLocal for Golang (Go library) |
| 26 |
routine encapsulates and provides some easy-to-use, non-competitive, |
| 27 |
high-performance goroutine context access interfaces, which can help you |
| 28 |
access coroutine context information more gracefully. |
| 29 |
. |
| 30 |
From the very beginning of its design, the Golang language has spared no |
| 31 |
effort to shield the concept of coroutine context from developers, |
| 32 |
including the acquisition of coroutine goid, the state of coroutine |
| 33 |
within the process, and the storage of coroutine context. |
| 34 |
. |
| 35 |
If you have used other languages such as C++, Java and so on, then you |
| 36 |
must be familiar with ThreadLocal, but after starting to use Golang, you |
| 37 |
will be deeply confused and distressed by the lack of convenient |
| 38 |
functions like ThreadLocal. |
| 39 |
. |
| 40 |
Of course, you can choose to use Context, which carries all the context |
| 41 |
information, appears in the first input parameter of all functions, and |
| 42 |
then shuttles around your system. |
| 43 |
. |
| 44 |
And the core goal of routine is to open up another way: Introduce |
| 45 |
goroutine local storage to the Golang world. |
| 46 |
. |
| 47 |
This package contains the Go library. |