inventory

package
v0.0.0-...-dcdb1c8 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package inventory is used to generate the mixer adapter inventory source file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(packageMap map[string]string, out io.Writer) error

Generate takes a map (package -> import path) and generates the source code to use as the adapter inventory for Mixer.

Types

type Import

type Import struct {
	Path    string
	Package string
}

Import holds the full import path and short package name of an adapter that will be part of the generated inventory.

Jump to

Keyboard shortcuts

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