mirror of https://github.com/golang/go.git
This CL adds a new analyzer for //go:embed directive, which checks for the "embed" import. Along with it, it improves doc for analysistest.Run for comments of the the form "//...// want..." or "//...// want..." Updates #50262 Change-Id: I60ef0ab740feadd4fff3a4d758123b27ceda0bc6 Reviewed-on: https://go-review.googlesource.com/c/tools/+/400854 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Peter Weinberger <pjw@google.com> Reviewed-by: Robert Findley <rfindley@google.com> Run-TryBot: Nooras Saba <saba@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> |
||
|---|---|---|
| .. | ||
| a.go | ||
| b.go | ||
| embedText | ||