如何使用泛型版本(How to use the generic version)
Open
timandy
opened this issue 3 years ago
•
0 comments
如何使用泛型版本
- 编辑你项目的
go.mod 文件,把 go 版本修改为 1.18。
- 复制 feature/generic 分支最新提交的
SHA 值。
- 到你项目下执行
go get github.com/timandy/routine@SHA,替换 SHA 为复制的值。
How to use the generic version
- Edit your the project's
go.mod file and change the go version to 1.18.
- Copy the
SHA value of the latest commit of the feature/generic branch.
- Go to your project and execute
go get github.com/timandy/routine@SHA, replace SHA with the copied value.