Source file src/plugin/plugin_stubs.go

     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  //go:build (!linux && !freebsd && !darwin) || !cgo
     6  
     7  package plugin
     8  
     9  import "errors"
    10  
    11  func lookup(p *Plugin, symName string) (Symbol, 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  }
    18  

View as plain text