From 25d28ec55aded46e0be9c2298f24287d296a9e47 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 8 Jul 2020 17:13:16 -0400 Subject: cmd/go: add //go:embed support The final piece of //go:embed support: have the go command stitch together parsing in go/build, low-level data initialization in cmd/compile, and the new data structures in package embed, to make the //go:embed feature actually function. And test, now that all the pieces are available to work together. For #41191. (Issue not fixed: still need to add a tool for use by Bazel.) Change-Id: Ib1d198345c3b4d557d340f292eda13b984b65d65 Reviewed-on: https://go-review.googlesource.com/c/go/+/243945 Trust: Russ Cox Trust: Jay Conrod Trust: Johan Brandhorst Run-TryBot: Russ Cox TryBot-Result: Go Bot Reviewed-by: Jay Conrod Reviewed-by: Johan Brandhorst --- src/embed/internal/embedtest/testdata/hello.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/embed/internal/embedtest/testdata/hello.txt (limited to 'src/embed/internal/embedtest/testdata/hello.txt') diff --git a/src/embed/internal/embedtest/testdata/hello.txt b/src/embed/internal/embedtest/testdata/hello.txt new file mode 100644 index 0000000000..4b5fa63702 --- /dev/null +++ b/src/embed/internal/embedtest/testdata/hello.txt @@ -0,0 +1 @@ +hello, world -- cgit v1.3