Help us shape the future of Go! Take the 2026 Go Developer Survey

projectbuiltins

package
v0.2.70 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package projectbuiltins is a reserved, empty-by-default package into which the local Rye builder (bin/l.rye) drops a project's own Go builtins.

In a normal build (without the "proj_builtins" build tag) Register is a no-op, so the package has no effect and the binary builds exactly as before.

When a project supplies a project_builtins/ directory, l.rye copies its *.go files here and builds with the "proj_builtins" tag, which selects register_on.go instead of this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ps *env.ProgramState)

Register registers project-specific builtins into the program state. This no-op implementation is used in normal builds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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