This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package suggestion for _test.go (#1220)
* Package suggestion for _test.go * Add semicolon * Package suggestion for _test.go * Add semicolon * Consider package suggestion with dir contains main.go * Always resolve * Guest package name when the directory name consist of mutiple words * Fix typo * Guess all dirname * Use capital * Use stat instead of readdir * Fallback proposedPkgName when main.go not found * Moved guessPkg to utils so its reusable
- Loading branch information
1 parent
2e2e3cd
commit 23399bf
Showing
2 changed files
with
66 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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