aboutsummaryrefslogtreecommitdiff
path: root/src/go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2020-04-14 21:06:26 +0000
committerMichael Knyszek <mknyszek@google.com>2020-10-26 18:28:09 +0000
commit2159c26ceb32bbfa86036431750c0752fca84ef6 (patch)
treedded56a567edd1e695475b32d6ee80e0fc804447 /src/go
parentc02134abb01e019683daf051029d66b15dd11213 (diff)
downloadgo-2159c26ceb32bbfa86036431750c0752fca84ef6.tar.gz
go-2159c26ceb32bbfa86036431750c0752fca84ef6.zip
runtime/metrics: add package interface
This change creates the runtime/metrics package and adds the initial interface as laid out in the design document. For #37112. Change-Id: I202dcee08ab008dd63bf96f7a4162f5b5f813637 Reviewed-on: https://go-review.googlesource.com/c/go/+/247040 Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/go')
-rw-r--r--src/go/build/deps_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go
index ba7a76318f..b26b2bd199 100644
--- a/src/go/build/deps_test.go
+++ b/src/go/build/deps_test.go
@@ -138,6 +138,9 @@ var depsRules = `
MATH
< math/rand;
+ MATH
+ < runtime/metrics;
+
MATH, unicode/utf8
< strconv;