Emmanuel BENOîT
5432360f0e
Writing the plugin's output string and exiting the program will no longer take place in the plugin status itself. It will only be done in the main program.
11 lines
222 B
Go
11 lines
222 B
Go
package program // import nocternity.net/gomonop/pkg/program
|
|
|
|
import "nocternity.net/gomonop/pkg/plugin"
|
|
|
|
type Program interface {
|
|
Output() *plugin.Plugin
|
|
CheckArguments() bool
|
|
RunCheck()
|
|
}
|
|
|
|
type Builder func() Program
|