modules

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleVU

type ModuleVU struct {
	// contains filtered or unexported fields
}

func NewModuleVU

func NewModuleVU(ctx context.Context, runtime *sobek.Runtime) *ModuleVU

func (*ModuleVU) Context

func (m *ModuleVU) Context() context.Context

func (*ModuleVU) Runtime

func (m *ModuleVU) Runtime() *sobek.Runtime

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(fs fs.FS, goModules map[string]lib.Module, vu lib.VU) *Resolver

func (*Resolver) Resolve

func (s *Resolver) Resolve(_ interface{}, specifier string) (sobek.ModuleRecord, error)

Jump to

Keyboard shortcuts

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