experiments

package
v1.19.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package experiments managed the list of experimental feature flags supported by GopherJS.

GOPHERJS_EXPERIMENT environment variable can be used to control which features are enabled.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidDest is a kind of error returned by parseFlags() when the dest
	// argument does not meet the requirements.
	ErrInvalidDest = errors.New("invalid flag struct")
	// ErrInvalidFormat is a kind of error returned by parseFlags() when the raw
	// flag string format is not valid.
	ErrInvalidFormat = errors.New("invalid flag string format")
)

Functions

This section is empty.

Types

type Flags

type Flags struct {
}

Flags contains flags for currently supported experiments.

var Env Flags

Env contains experiment flag values from the GOPHERJS_EXPERIMENT environment variable.

Jump to

Keyboard shortcuts

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