internal: use constant to avoid repeated definitions

Change-Id: I7cf3114a66ac57b3c93ba04dfff6cf4adc7c93b2
GitHub-Last-Rev: eb1da5a48a44189ae1c8aa8245fe3616c9c51eaf
GitHub-Pull-Request: golang/debug#17
Run-TryBot: Ian Lance Taylor <>
Reviewed-by: Ian Lance Taylor <>
Auto-Submit: Ian Lance Taylor <>
Reviewed-by: Ian Lance Taylor <>
Reviewed-by: Cherry Mui <>
TryBot-Result: Gopher Robot <>
Run-TryBot: Ian Lance Taylor <>
1 file changed
tree: 680c3d1ba42650d054ab2dc576f906b3c10c1e3b
  1. cmd/
  2. dwtest/
  3. internal/
  4. codereview.cfg
  6. go.mod
  7. go.sum

Go Debug

Go Reference

This repository holds utilities and libraries for debugging Go programs.

WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see

The main issue tracker for the debug repository is located at Prefix your issue with “x/debug:” in the subject line, so it is easy to find.