kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/indexer/testdata/basic/imports.go (about)

     1  // Package imports tests references at import sites, and references to imported
     2  // packages in the code.
     3  package imports
     4  
     5  import (
     6  	//- @"\"fmt\"" ref/imports
     7  	//-   Fmt=vname("package", "golang.org", _, "fmt", "go")
     8  	"fmt"
     9  	//- @"\"strconv\"" ref/imports
    10  	//-   Strconv=vname("package", "golang.org", _, "strconv", "go")
    11  	"strconv"
    12  )
    13  
    14  // - @fmt ref Fmt
    15  var _ = fmt.Sprint
    16  
    17  // - @strconv ref Strconv
    18  var _ = strconv.Atoi