1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:04:49 -07:00
go/internal/span
Ian Cottrell 83df196e57 internal/span: add a filename only print for spans
This prints the base of the path rather than the whole path when printing a
span.
This is useful for places where you are printing for the user rather than for
machines.
The format is %f

Change-Id: I6d1a52e4583099ff298c1fb645272578a49472eb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174942
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-05-03 02:58:08 +00:00
..
parse.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
span_test.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
span.go internal/span: add a filename only print for spans 2019-05-03 02:58:08 +00:00
token111.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token112.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token_test.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
token.go internal/lsp: improve signatureHelp in various cases 2019-04-17 18:10:49 +00:00
uri_test.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
uri.go internal/lsp: use strings.EqualFold instead of == 2019-04-18 15:28:51 +00:00
utf16_test.go internal/span: fix another off-by-one in ToUTF16Column 2019-04-29 18:16:56 +00:00
utf16.go internal/span: fix another off-by-one in ToUTF16Column 2019-04-29 18:16:56 +00:00