Documentation ¶ Index ¶ type Scripter type Tooler type ToolerFn func (fn ToolerFn) AssetTool(ctx context.Context, root string) (string, error) func (ToolerFn) PluginName() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Scripter ¶ type Scripter interface { AssetScript(ctx context.Context, root string, name string) (string, error) } type Tooler ¶ type Tooler interface { // AssetTool returns the name of the asset tool to use. // npm, yarnpkg, etc... AssetTool(ctx context.Context, root string) (string, error) } type ToolerFn ¶ type ToolerFn func(ctx context.Context, root string) (string, error) func (ToolerFn) AssetTool ¶ func (fn ToolerFn) AssetTool(ctx context.Context, root string) (string, error) func (ToolerFn) PluginName ¶ func (ToolerFn) PluginName() string Source Files ¶ View all Source files ifaces.go Click to show internal directories. Click to hide internal directories.