github.com/flyinox/gosm@v0.0.0-20171117061539-16768cb62077/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 }