amalgomate

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg Config, outputDir, pkg string) error

Types

type Config

type Config struct {
	Pkgs map[string]SrcPkg `yaml:"packages"`
}

func LoadConfig

func LoadConfig(configPath string) (Config, error)

type GoModInfo added in v1.7.0

type GoModInfo struct {
	// Module path
	Path string
	// Path to the module directory
	Dir string
}

type SrcPkg

type SrcPkg struct {
	MainPkg string `yaml:"main"`
}

Jump to

Keyboard shortcuts

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