Skip to content

Commit 29af178

Browse files
committed
internal: add experiment for retractions and deprecations
For golang/go#43265 For golang/go#41321 Change-Id: I1e8e6fe0f55d536696e1c58e81726292278fd20c Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/295891 Trust: Jonathan Amsterdam <[email protected]> Run-TryBot: Jonathan Amsterdam <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Julie Qiu <[email protected]>
1 parent bae9224 commit 29af178

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/experiment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const (
1212
ExperimentInteractivePlayground = "interactive-playground"
1313
ExperimentNotAtLatest = "not-at-latest"
1414
ExperimentRedirectedFromBanner = "redirected-from-banner"
15+
ExperimentRetractions = "retractions"
1516
)
1617

1718
// Experiments represents all of the active experiments in the codebase and
@@ -23,6 +24,7 @@ var Experiments = map[string]string{
2324
ExperimentInteractivePlayground: "Enable interactive example playground on the unit page.",
2425
ExperimentNotAtLatest: "Enable the display of a 'not at latest' badge.",
2526
ExperimentRedirectedFromBanner: "Display banner with path that request was redirected from.",
27+
ExperimentRetractions: "Retrieve and display retraction and deprecation information.",
2628
}
2729

2830
// Experiment holds data associated with an experimental feature for frontend

0 commit comments

Comments
 (0)