Documentation
¶
Overview ¶
Package std holds bork's standard packages, imported as "bork/name" (import "bork/http"). They are written in bork, with unsafe go where they reach Go's libraries, and embedded in the compiler.
Index ¶
Constants ¶
View Source
const Prefix = "bork/"
Prefix starts the import paths of standard packages.
Variables ¶
This section is empty.
Functions ¶
func GoModuleFiles ¶
func GoModuleFiles(importPaths []string, user ...GoDependencyManifest) (mod, sum []byte, err error)
GoModuleFiles combines the pinned module declarations for imported standard packages and optional user manifests. Packages without go-deps.mod have no third-party Go dependencies. Go minimum version selection chooses the highest required version for each module path.
Types ¶
type GoDependencyManifest ¶
GoDependencyManifest is a pinned module manifest and its checksums. Name identifies its source in diagnostics.
Click to show internal directories.
Click to hide internal directories.