写在最前面的话,golang因为是国外开发的,官网,github都是网速卡或者不能使用的,这个时候可以使用国内的,搜索软件包或者下载
https://gitee.com/
如果可以使用的话,建议从下面两个网站使用,
官网:
https://go.dev/
github网站:
https://github.com/
充分使用好上述三个网站;
uuid-golang中的使用:
1.去go.dev网站,进入包目录,搜索需要的包
https://go.dev/
检索 包名 例如 uuid
检索结果,本次我选择的是,你可以根据自己需求去选择
github.com/satori/go.uuid
点击进入就是软件包的详细说明;以及使用办法<