Comment 3 for bug 1613779

Revision history for this message
Leo Arias (elopio) wrote : Re: go plugin: assumes source in root dir

I think that the problem in your case is this:

can't load package: package github.com/fatedier/frp/test: found packages main (echo_server.go) and test (func_test.go) in /tmp/test/parts/frps/go/src/github.com/fatedier/frp/test

You shouldn't have two packages in the same directory. If

Now, it seems indeed that snapcraft is ignoring the source-subdir in the go plugin, and that would be a possible workaround for this case.

Thanks for your report!