go-import-subtree

command module
v0.0.0-...-4f2f57c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2016 License: MPL-2.0 Imports: 10 Imported by: 0

README

Golang Import Sub-tree

The go-import-subtree utility is designed to be used with go generate to import all packages in a sub-folder for side-effect imports.

Using github.com/progrium/go-extpoints you can have a project with a plugins/ folder, where plugins register themselves using go-extpoints as a side-effect of being imported.

When combined with go-import-subtree you can import all packages in the plugins/ folder automatically. Freeing you from maintaining a file importing all your plugins, just run 'go generate'.

See the example/ for a simple example.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
generated by go-import-subtree -- DO NOT EDIT
generated by go-import-subtree -- DO NOT EDIT
extpoints
generated by go-extpoints -- DO NOT EDIT Package extpoints provides extention points plugins can satisfy and register themselves as furfulling.
generated by go-extpoints -- DO NOT EDIT Package extpoints provides extention points plugins can satisfy and register themselves as furfulling.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL