compiler

package
v1.0.597-b136d2c Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package binary provides a convenient mechanism for building and running a service binary as part of an acceptance test suite.

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() (*Compiler, error)

func (*Compiler) Cleanup

func (c *Compiler) Cleanup()

func (*Compiler) Compile

func (c *Compiler) Compile(ctx context.Context, name, target string, source string) (string, error)

Compile a binary for testing. target is the path to the main package.

Directories

Path Synopsis
internal
cmd

Jump to

Keyboard shortcuts

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