internal/experiment: add experiment for directory-tree
Trust: Jamal Carvalho
Run-TryBot: Jamal Carvalho
TryBot-Result: kokoro
@@ -8,6 +8,7 @@ package internal
const (
ExperimentNotAtLatest = "not-at-latest"
ExperimentNotAtV1 = "not-at-v1"
+ ExperimentDirectoryTree = "directory-tree"
)
// Experiments represents all of the active experiments in the codebase and
@@ -15,6 +16,7 @@ const (
var Experiments = map[string]string{
ExperimentNotAtLatest: "Enable the display of a 'not at latest' badge.",
ExperimentNotAtV1: "Redirect requests to a path not at v1 to the highest major version of that path.",
+ ExperimentDirectoryTree: "Enable the directory tree layout on the unit page.",
}
// Experiment holds data associated with an experimental feature for frontend
