builder

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const GoModTemplate string = `` /* 510-byte string literal not displayed */
View Source
const PluginsTemplate string = `` /* 472-byte string literal not displayed */

Variables

This section is empty.

Functions

func RandStringBytes

func RandStringBytes(n int) string

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(rrTmpPath string, modules []*common.ModulesInfo, out string, log *zap.Logger, buildArgs []string) *Builder

func (*Builder) Build

func (b *Builder) Build() error

func (*Builder) Write

func (b *Builder) Write(d []byte) (int, error)

type Entry

type Entry struct {
	Module    string
	Structure string
	Prefix    string
	Version   string
	// Replace directive, should include path
	Replace string
}

Entry represents all info about module

type Template

type Template struct {
	Entries []*Entry
}

Jump to

Keyboard shortcuts

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