gg

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Repository = "Repository"

	Service = "Service"

	Dao = "Dao"

	All = "all"

	RepositoryTpl = "repository.tpl"

	ServiceTpl = "service.tpl"

	DaoTpl = "dao.tpl"
)

Variables

View Source
var (
	Cmd = &cobra.Command{
		Use:              "gg",
		Short:            "golang  generate init file",
		Long:             `generate init file for go project;examples:service 、 dao 、repository`,
		TraverseChildren: true,
		RunE: func(cmd *cobra.Command, args []string) error {
			run()
			return nil
		},
	}
)
View Source
var (
	HomeDir string
)

gg Golang generate Example:service dao repository

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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