official

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package official loads versioned TypeRB packages bundled with the compiler. The manifest boundary keeps these packages distinct from the standard library so they can move to an external package source without changing application imports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Names

func Names() []string

func OwnsModule

func OwnsModule(modulePath string) bool

Types

type Package

type Package struct {
	ManifestPath               string
	Name                       string
	Version                    string
	ProjectProvider            string
	NativeDependencies         map[string]map[string]string
	NativeDependenciesByOption map[string]map[string]map[string]map[string]string
	Definition                 *stdlib.Package
}

func Lookup

func Lookup(name string) (*Package, bool)

func (*Package) NativeDependenciesFor added in v0.2.0

func (p *Package) NativeDependenciesFor(mode string, rawOptions json.RawMessage) (map[string]string, error)

Jump to

Keyboard shortcuts

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