builder

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

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
y or Y : Canonical URL