// Package nested is a test fixture: a second plugin in a subdirectory of // the consts module, requiring the root plugin. It is never built. package nested import root "example.test/sm-consts-plugin" // Plugin is the fixture plugin. type Plugin struct{} // ID returns the plugin ID. func (*Plugin) ID() string { return "acme.constsnested" } // Requires the root plugin of the same module. func (*Plugin) Requires() []string { return []string{root.PluginID} }