Any smart method to get exp/html back after Go1?

后端 未结 5 738
醉话见心
醉话见心 2020-12-10 08:33

I\'ve installed the Go release version as root. Go1 removed all exp/ code.

Is there smart method to get exp/* back after Go1? (I mean how to install in my local GOPA

5条回答
  •  星月不相逢
    2020-12-10 08:57

    Building from source is the way to do this. When you do the hg update step though, note that since the exp tree is not tagged go1, that hg update release won't get it for you. Instead hg update weekly will get it, and is probably what you want.

    Edit: Weekly releases were discontinued after Go 1, so hg update weekly will access increasingly stale code. A better strategy is hg update tip, then copy the exp directory or directories of interest somewhere and recompile it with whatever Go version you are using, Go 1.0.1, for example.

提交回复
热议问题