Documentation
¶
Index ¶
- func Fetch(ctx context.Context, link string) (*moduleInfo, error)
- type Runtime
- func (r *Runtime) GetLatest(ctx context.Context, module string) (string, bool, error)
- func (r *Runtime) GetModule(_ context.Context, module string) (*structs.ModuleInfo, error)
- func (r *Runtime) Install(ctx context.Context, program string) error
- func (r *Runtime) Parse(ctx context.Context, str string) (string, error)
- func (r *Runtime) Run(ctx context.Context, program string, args ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.