Debian Codegraph @

gopls/internal/analysis/embeddirective/testdata/src/a/import_missing.go.golden

raw
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 _ "embed"
9 "fmt"
10 )
11
12 //go:embed embedtext // want "must import \"embed\" when using go:embed directives"
13 var s string
14
15 // This is main function
16 func main() {
17 fmt.Println(s)
18 }