cmd

package
v0.0.0-...-668fbc5 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoVersion

func GoVersion(dir string) string

GoVersion calculates the go version to use for the given module. Assumes existence of git command on the path.

func New

func New() *cobra.Command

Types

type ErrNoModFile

type ErrNoModFile struct{}

func (ErrNoModFile) Error

func (e ErrNoModFile) Error() string

type NopWriteCloser

type NopWriteCloser struct {
	io.Writer
}

func (NopWriteCloser) Close

func (NopWriteCloser) Close() error

Jump to

Keyboard shortcuts

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