• Kirill Smelkov's avatar
    golang: Mark chan<T> IO methods as const · 3aca691e
    Kirill Smelkov authored
    chan<T> is a pointer type and e.g. send does not change the pointer - it
    only "modifies" channel buffer. Marking appropriate methods as const is
    needed so that `const chan<T>` could be used to send/receive the same
    way as `chan <T>` is used.
    3aca691e
_golang.pxd 3.97 KB