Enhanced package and build to by default not include any source code

This commit is contained in:
NotZippy
2018-09-14 15:56:26 -07:00
parent d0baaeb9e9
commit 3ad381d45b
9 changed files with 88 additions and 24 deletions

View File

@@ -160,7 +160,7 @@ func processPackage(fset *token.FileSet, pkgImportPath, pkgPath string, pkg *ast
)
// For each source file in the package...
utils.Logger.Info("Exaiming files in path", "package", pkgPath)
utils.Logger.Info("Exaimining files in path", "package", pkgPath)
for fname, file := range pkg.Files {
// Imports maps the package key to the full import path.
// e.g. import "sample/app/models" => "models": "sample/app/models"