name

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package name provides name template logic for the final archive, formulae, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func For

func For(ctx *context.Context, goos, goarch, goarm string) (string, error)

For returns the name for the given context, goos, goarch and goarm.

func ForBuild added in v0.23.0

func ForBuild(ctx *context.Context, build config.Build, goos, goarch, goarm string) (string, error)

ForBuild return the name for the given context, goos, goarch, goarm and build, using the build.Binary property instead of project_name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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