github.com/MangoDowner/go-gm@v0.0.0-20180818020936-8baa2bd4408c/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  }