github.com/muesli/go@v0.0.0-20170208044820-e410d2a81ef2/src/plugin/plugin_stubs.go (about)

     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  
     5  // +build !linux,!darwin !cgo
     6  
     7  package plugin
     8  
     9  import "errors"
    10  
    11  func lookup(p *Plugin, symName string) (interface{}, error) {
    12  	return nil, errors.New("plugin: not implemented")
    13  }
    14  
    15  func open(name string) (*Plugin, error) {
    16  	return nil, errors.New("plugin: not implemented")
    17  }