A compiler directive is a source-level instruction written as a special comment, such as //go:{something}, that affects compilation or related code-analysis tooling rather than executing as ordinary code. section 8.5.2
Embedding a corpus
Go's embed package uses a directive to include a file in the compiled program. Place the directive and target variable at package scope, import embed with the blank identifier, and the file contents become available through englishCorpus. section 8.5.2
//go:embed corpus/english.txt var englishCorpus string
The compact listing shows the directive syntax and the variable receiving the embedded file contents. section 8.5.2

