generator

package
v0.0.0-...-f3b71ee Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProjectStructure

func CreateProjectStructure(projectName string) error

func ExtractProjectName

func ExtractProjectName(modPath string) (string, error)

func FileGenerator

func FileGenerator(project Project, tplContent *string, writer io.Writer) error

func GenMain

func GenMain(projectName string) error

func MakeProjectFolder

func MakeProjectFolder(modPath string) error

Types

type Docker

type Docker struct {
	Maintainer string
	Expose     string
}

type Project

type Project struct {
	Module       string
	OriginalName string
	Name         string
	Docker       *Docker
}

Jump to

Keyboard shortcuts

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