| 1 | // Copyright 2022 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package a |
| 6 | |
| 7 | import ( |
| 8 | "fmt" |
| 9 | ) |
| 10 | |
| 11 | //go:embed embedtext // want "must import \"embed\" when using go:embed directives" |
| 12 | var s string |
| 13 | |
| 14 | // This is main function |
| 15 | func main() { |
| 16 | fmt.Println(s) |
| 17 | } |