mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: switch to the new deprecation convention
While we're at it, move some misplaced comment blocks around. Change-Id: I1847d7f1ca1dbb8e5de737203c4ed6c66e112508 Reviewed-on: https://go-review.googlesource.com/10188 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
526b501713
commit
3925a7c5db
12 changed files with 155 additions and 147 deletions
|
|
@ -31,7 +31,7 @@ func PrintStack() {
|
|||
// then attempts to discover, for Go functions, the calling function or
|
||||
// method and the text of the line containing the invocation.
|
||||
//
|
||||
// This function is deprecated. Use package runtime's Stack instead.
|
||||
// Deprecated: Use package runtime's Stack instead.
|
||||
func Stack() []byte {
|
||||
return stack()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue