mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
go/token: add (*File).End method
Also, use it in a number of places. + test, api, relnote Fixes #75849 Change-Id: I44acf5b8190b964fd3975009aa407d7c82cee19b Reviewed-on: https://go-review.googlesource.com/c/go/+/720061 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Robert Griesemer <gri@google.com>
This commit is contained in:
parent
65c09eafdf
commit
1297fae708
8 changed files with 22 additions and 7 deletions
1
doc/next/6-stdlib/99-minor/go/token/75849.md
Normal file
1
doc/next/6-stdlib/99-minor/go/token/75849.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
The new [File.End] convenience method returns the file's end position.
|
||||
Loading…
Add table
Add a link
Reference in a new issue