code: func (pkg *Package) Imports() map[string]bool {
  	im := make(map[string]bool)
  	for _, intf := range pkg.Interfaces {
  		intf.addImports(im)
  	}
  	return im
  }
docs: // Imports returns the imports needed by the Package as a set of import paths.