genny: github.com/gobuffalo/genny/gogen/gomods Index | Files

package gomods

import "github.com/gobuffalo/genny/gogen/gomods"

Index

Package Files

gomods.go init.go tidy.go

Constants

const ENV = "GO111MODULE"

Variables

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

func Disable Uses

func Disable(fn func() error) error

func Force Uses

func Force(b bool)

func Init Uses

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

func New Uses

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

func On Uses

func On() bool

func Tidy Uses

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

Package gomods imports 8 packages (graph) and is imported by 7 packages. Updated 2019-09-10. Refresh now. Tools for package owners.