generator

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(name, path, mod string) (g *Generator, err error)

func (*Generator) Contains

func (g *Generator) Contains(content string) (ok bool)

func (*Generator) GetPath

func (g *Generator) GetPath() string

func (*Generator) IsExistsFile

func (g *Generator) IsExistsFile() (ok bool)

func (*Generator) SetContent

func (g *Generator) SetContent(content string)

func (*Generator) WriteToFile

func (g *Generator) WriteToFile() (err error)

Jump to

Keyboard shortcuts

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