Help us shape the future of Go! Take the 2026 Go Developer Survey

compiler

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

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

func New

func New(config Config) *Compiler

func (*Compiler) CompileMain

func (c *Compiler) CompileMain(ctx context.Context) error

CompileMain is a Task that builds the main binary.

func (*Compiler) CompileTests

func (c *Compiler) CompileTests(ctx context.Context) error

CompileTests is a Task that builds the tests binary.

type Config

type Config struct {
	Logger micrologger.Logger

	TestDir string
}

Jump to

Keyboard shortcuts

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