Skip to content

Commit d73c0fa

Browse files
authored
Update README.md
1 parent 4009c92 commit d73c0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protoc --proto_path={yourpath}:. --go_api_out=:. *.proto
2727

2828
最新版本的protoc-gen-go要求go_package必须含有/,且会生成到$GOPATH/src目录下,所以建议把工程文件放到$GOPATH/src/git域名/git_group/目录下。
2929

30-
https://github.com/dev-openapi/wxmp 则该工程文件为 $GOPATH/src/github.com/dev-openapi/wxmp
30+
https://github.com/dev-openapi/wx-miniprogram 则该工程文件为 $GOPATH/src/github.com/dev-openapi/wx-miniprogram
3131

3232
另外,也可以指定protoc-gen-go的生成目录和设置source_relative相关配置,也可以生成到指定目录
3333

0 commit comments

Comments
 (0)