[go-nuts] What compatibility of go/ast, go/types, go/packages packages is planned, if any, when transitioning toward go2 ?

2021-01-27 Thread clément auger
Hello, I am wondering if some backward compatibility is planned for programs heavily relying on *ast, parser, type, packages* packages to analyze, interpret, manipulate go source code. I read this morning the blog and it says 'The language changes are fully backward compatible' in its last ne

[go-nuts] yet another code gen: specialized datastructure

2021-03-14 Thread clément auger
hi, I recently wanted to get the juice out of some programs. A queue consumer that transforms inputs over many routines, then aggregates the results to re order them. The order is defined by the input order. There was many variations written around it, using a map, a slice, a regular heap, and

[go-nuts] gomod is it ok to clone a remote into a local directory ?

2021-05-01 Thread clément auger
Hello, While toying in some projects i ended using go mod replace directive to point to a local directory containing a git clone of a remote, that i know will need some modifications. something like $ git clone github.com/anacrolix/dht dht $ cat go.mod module github.com/clementauger/dplay go