package experiment

Import Path
	golang.org/x/pkgsite/internal/experiment (on go.dev)

Dependency Relation
	imports one package, and imported by 7 packages

Involved Source Files Package experiment provides functionality for experiments.
Package-Level Type Names (total 2, in which 1 are exported)
/* sort exporteds by: | */
Set is the set of experiments that are enabled for a request. Active returns a list of all the active experiments in s. IsActive reports whether an experiment is active for this set. func FromContext(ctx context.Context) *Set func NewSet(experimentNames ...string) *Set
Package-Level Functions (total 4, all are exported)
FromContent returns the set of experiments enabled for the content.
IsActive reports whether an experiment is active for this set.
NewContext stores a set constructed from the provided experiment names in the context.
NewSet creates a new experiment.Set with the data provided.