1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 01:52:26 +08:00

plugins: generate dummy main function for plugins to fix go#20312

https://github.com/golang/go/issues/20312

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2017-07-26 17:09:27 +02:00
parent 1cc387976b
commit c59fdccd9f

View File

@ -15,4 +15,8 @@ import (
)
var Plugins = $shortpkg.Plugins
func main() {
panic("this is a plugin, build it as a plugin, this is here as for go#20312")
}
EOL