Created
October 5, 2015 09:12
-
-
Save osamingo/7a99e75287018e93258c to your computer and use it in GitHub Desktop.
*_test.goが含まれているPackage一覧を取得する ref: http://qiita.com/osamingo/items/4151b78bcfb9d0cf9559
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ go list -f="{{if .TestGoFiles}}{{.ImportPath}}{{end}}" ./... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ find . -maxdepth 3 -path '*_test.go' -type f | xargs -I{} dirname {} | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment