packageinfo

package
v0.0.0-...-ea27d6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package packageinfo writes information about Go packages in a JSON format. This is created at build time and intended to be consumed by the gopackagedriver binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBuildPackage

func FromBuildPackage(pkg *build.Package, subrepo, module string) *packages.Package

FromBuildPackage creates a packages Package from a build Package.

func WritePackageInfo

func WritePackageInfo(importPath string, srcRoot, importconfig string, imports map[string]string, installPkgs []string, subrepo, module string, w io.Writer) error

WritePackageInfo writes a series of package info files to the given file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL