Registry / utility / go-toolsmith-pkgload

go-toolsmith-pkgload

JSON →
library1.2.2gogounverified

Package pkgload provides utilities for go/packages load-related operations.

go get github.com/go-toolsmith/pkgload
INSTALL
IMPORT
SIG · GO-TOOLSMITH-PKGLO
G
go-toolsmith-pkgload
utilitygov1.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pkgload
github.com/go-toolsmith/pkgload

Load packages using pkgload

package main import ( "fmt" "github.com/go-toolsmith/pkgload" ) func main() { cfg := pkgload.Config{ Mode: pkgload.LoadSyntax, } pkgs, err := pkgload.Load(&cfg, "./...") if err != nil { panic(err) } fmt.Println(len(pkgs)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
go-toolsmith-pkgload — go get go-toolsmith-pkgload · libregistry