elvish/pkg/eval/plugin_gccgo.go
Qi Xiao d0be34c227 Run gofmt with Go 1.17.
This has created a lot of //go:build lines.
2021-08-23 00:19:49 +01:00

19 lines
362 B
Go

//go:build gccgo
// +build gccgo
package eval
import "errors"
var errPluginNotImplemented = errors.New("plugin not implemented")
type pluginStub struct{}
func pluginOpen(name string) (pluginStub, error) {
return pluginStub{}, errPluginNotImplemented
}
func (pluginStub) Lookup(symName string) (interface{}, error) {
return nil, errPluginNotImplemented
}