github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2014/hammers/findthecode.go (about)

     1  // +build ignore
     2  
     3  package main
     4  
     5  import (
     6  	"fmt"
     7  	"go/build"
     8  )
     9  
    10  func main() {
    11  	pkg, _ := build.Import("net/http", "", 0) // HL
    12  	fmt.Println(pkg.Dir)
    13  	fmt.Println(pkg.GoFiles)
    14  }