service

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MAXCAP = 1000

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzerService

type AnalyzerService interface {
	AnalyzeFile(filename string) (*model.File, error)
}

func NewAnalyzerService

func NewAnalyzerService() AnalyzerService

type GeneratorService

type GeneratorService interface {
	GenerateConstructors(file *model.File, output string, isPrivate bool) ([]byte, error)
}

func NewGeneratorService

func NewGeneratorService() GeneratorService

type Services

type Services struct {
	Generator GeneratorService
	Analyzer  AnalyzerService
}

func NewServices

func NewServices(generator GeneratorService, analyzer AnalyzerService) *Services

Jump to

Keyboard shortcuts

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