repository

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TEMPLATE_AUTH string
View Source
var TEMPLATE_MYSQL string
View Source
var TEMPLATE_NO_AUTH string

Functions

This section is empty.

Types

type Repository

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

Repository generator

func (*Repository) Generate

func (r *Repository) Generate(input *parser.Parser, conf *config.Config) error

Generate generates repository

func (*Repository) GetContent added in v1.0.11

func (r *Repository) GetContent() string

GetContent returns generated repository content

func (*Repository) Save added in v1.0.11

func (r *Repository) Save() error

Save saves repository to file

type RepositoryImplementation added in v1.0.11

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

RepositoryImplementation generator

func (*RepositoryImplementation) Generate added in v1.0.11

func (r *RepositoryImplementation) Generate(input *parser.Parser, conf *config.Config) error

Generate generates repository_imlementation

func (*RepositoryImplementation) GetContent added in v1.0.11

func (r *RepositoryImplementation) GetContent() string

GetContent returns generated repository_implementation to file

func (*RepositoryImplementation) Save added in v1.0.11

func (r *RepositoryImplementation) Save() error

Save saves generated repository_implementation to file

Jump to

Keyboard shortcuts

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