pan-light icon indicating copy to clipboard operation
pan-light copied to clipboard

编译出错

Open bluzye opened this issue 6 years ago • 1 comments

golang 1.12.6 macOS 10.14.5

cannot find module providing package github.com/peterq/pan-light/pc/downloader/internal

bluzye avatar Jul 12 '19 02:07 bluzye

@bluzye , sorry, it is not clearly described in the documentation.

this error occurs since there are no go files in the directory pc/downloader/internal, in which some go files should be created by protobuf; to fix this, you can follow these steps below:

  1. install protobuf and the protobuf plugin for golang. see here
  2. run cd pc
  3. run go generate

peterq avatar Jul 12 '19 10:07 peterq