pan-light
pan-light copied to clipboard
编译出错
golang 1.12.6 macOS 10.14.5
cannot find module providing package github.com/peterq/pan-light/pc/downloader/internal
@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:
- install protobuf and the protobuf plugin for golang. see here
- run
cd pc - run
go generate