gomods

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const ENV = "GO111MODULE"

Variables

View Source
var ErrModsOff = errors.New("go mods are turned off")

Functions

func Disable

func Disable(fn func() error) error

func Force

func Force(b bool)

func Init

func Init(name string, root string) (*genny.Generator, error)

func New

func New(name string, path string) (*genny.Group, error)

func On

func On() bool

func Tidy

func Tidy(path string, verbose bool) (*genny.Generator, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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