plugin_stubs.go 460 B

1234567891011121314151617
  1. // Copyright 2016 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build (!hurd && !linux && !freebsd && !darwin) || !cgo
  5. package plugin
  6. import "errors"
  7. func lookup(p *Plugin, symName string) (Symbol, error) {
  8. return nil, errors.New("plugin: not implemented")
  9. }
  10. func open(name string) (*Plugin, error) {
  11. return nil, errors.New("plugin: not implemented")
  12. }