project

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGitRepo added in v0.6.8

func IsGitRepo() bool

func IsGoModule added in v0.6.8

func IsGoModule() bool

func RandomName

func RandomName() string

Types

type Config

type Config struct {
	PkgName      string
	AppName      string
	RootPath     string
	ModName      string
	ExportedName string

	IsGoModule bool
	IsGitRepo  bool
}

type Generator added in v0.6.7

type Generator struct {
	Config *Config
}

func NewGenerator added in v0.6.7

func NewGenerator(config *Config) *Generator

func (*Generator) GenerateModule added in v0.6.7

func (g *Generator) GenerateModule() error

func (*Generator) GenerateProject added in v0.6.7

func (g *Generator) GenerateProject() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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