mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
18 lines
274 B
Go
18 lines
274 B
Go
// +build noplugin
|
|
|
|
package loader
|
|
|
|
import (
|
|
"errors"
|
|
|
|
iplugin "github.com/ipfs/go-ipfs/plugin"
|
|
)
|
|
|
|
func init() {
|
|
loadPluginFunc = nopluginLoadPlugin
|
|
}
|
|
|
|
func nopluginLoadPlugin(string) ([]iplugin.Plugin, error) {
|
|
return nil, errors.New("not built with plugin support")
|
|
}
|