You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
I dug into this one a bit, initially I thought it might have been some of our directory identification logic that was causing the issue but apparently invoking Package.Load (the built-in Golang package loader code which we use for Gokart) with a _ at the start of your directory results in 0 packages being found. This is likely related to https://pkg.go.dev/go/build#Context.Import - which explicitly mentions that go build will ignore certain file name patterns:
- .go files in package documentation
- files starting with _ or . (likely editor temporary files)
- files with build constraints not satisfied by the context
I just tested locally with a directory starting with . and that also doesn't appear to scan. We intend to add more support later on that won’t have these restrictions, but for now we have to suggest using a different directory name for the base of your package when scanning.
In our cicd environment we dump the src code into /_src
When trying to scan with gokart on /_src it fails
The text was updated successfully, but these errors were encountered: