/golang/packages

POST /api/golang/packages

Price: 10 credits

Get Go module/package details by import path or pkg.go.dev URL

How to use it

Get full details of a Go module/package by import path (e.g. 'github.com/gin-gonic/gin', 'golang.org/x/net') or a pkg.go.dev URL. Returns module path, package name, description, latest (or requested) version, publish time, license, repository, imports and imported-by counts, Go version, commit hash, VCS ref, the direct and indirect dependencies, and the module quality flags.

Parameters

Request body

Response

Errors

Response headers