1 安装wire 1.1 通过命令直接安装 go install github.com/google/wire/cmd/wire@latest 1.2 通过go get方式安装 go get github.com/google/wire/cmd/wire 进入目录编译 cd C:\Users\leell\go\pkg\mod\github.com\google\wire@v0.6.0
1 安装wire 1.1 通过命令直接安装 go install github.com/google/wire/cmd/wire@latest 1.2 通过go get方式安装 go get github.com/google/wire/cmd/wire 进入目录编译 cd C:\Users\leell\go\pkg\mod\github.com\google\wire@v0.6.0