info

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrModuleNameNotFound = errors.New("module name not found")

Functions

func BuildName

func BuildName() (string, error)

BuildName extracts the last part of the module by splitting on `/` this last part is useful for name of the binary and other things.

func ModuleName

func ModuleName() (string, error)

ModuleName returns the full module name from go.mod

Types

This section is empty.

Jump to

Keyboard shortcuts

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