builder

package
Version: v0.28.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: BSD-3-Clause Imports: 12 Imported by: 1

Documentation

Overview

package builder builds a fwk-app binary from a list of go files.

builder's architecture and sources are heavily inspired from golint:

https://github.com/golang/lint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Name  string // name of resulting compiled binary
	Usage string // usage string displayed by compiled binary (with -help)
	// contains filtered or unexported fields
}

Builder generates and builds fwk-based applications.

func NewBuilder

func NewBuilder(fnames ...string) (*Builder, error)

NewBuilder creates a Builder from a list of file names or directories

func (*Builder) Build

func (b *Builder) Build() error

Build applies some type-checking, collects setup functions and generates the sources of the fwk-based application.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto