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.
setmap[string]bool
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.
The pages are generated with Goldsv0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.