https://github.com/visualfc/fastmod
https://github.com/visualfc/fastmod
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/visualfc/fastmod
- Owner: visualfc
- License: bsd-3-clause
- Created: 2018-10-11T05:15:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-31T12:38:55.000Z (over 4 years ago)
- Last Synced: 2025-02-02T02:21:36.434Z (about 1 year ago)
- Language: Go
- Size: 62.5 KB
- Stars: 8
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Fast parse Go modules
go get github.com/visualfc/fastmod
Usages:
pkg, err := fastmod.LoadPackage(dir, &build.Default)
if err != nil {
return
}
path, dir, typ := pkg.Lookup(pkg)