This is not a language feature, no. However, since there is no way in this language to ask about goroutines (for example, to obtain a stream identifier or manage it from another goroutine, as in some other languages), if you can configure transparent communication mechanisms (for example, channels that work over the network), you can create a similar effect. In fact, Rob Pike, one of the creators of Go, used to play with a package he called "netchan" to do just that, but couldn't get the semantics to the right , and so he hasn't published the final version yet. This is definitely something that he is still interested in, and will certainly follow Go's approach to abstraction.
source
share