/golang/packages/imports
/golang
/golang/packages/imports
List the packages that a Go package imports
Price: 1 credit
💡 AI Hint: List the packages that a Go package imports, by import path. Each import is classified as external (other modules), internal (same module), or standard (Go standard library).
⚠️ Common errors: 412: Package not found
POST
/golang/packages/imports
Authorizations
API token from the dashboard
Headers
Body
application/json
Go import path (e.g. 'github.com/gin-gonic/gin') or a pkg.go.dev URL
Minimum string length:
1Examples:
"github.com/gin-gonic/gin"
"golang.org/x/net/http2"
Number of imported packages to return
Required range:
x >= 1Max scrapping execution timeout (in seconds)
Required range:
20 <= x <= 1500Specific module version; latest by default