generator

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrStructNotFound    = errors.New("struct not found")
	ErrNotNamedStruct    = errors.New("not a named struct")
	ErrInterfaceNotFound = errors.New("interface not found")
	ErrNotInterface      = errors.New("not an interface")
)

Functions

func GenerateRepositoryImpl added in v0.4.0

func GenerateRepositoryImpl(modelPkg, repoPkg, destPkg *types.Package, structModelName,
	repoInterfaceName string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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