integration

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ExampleConfigurableGenerate = `` /* 196-byte string literal not displayed */
View Source
const ExampleGoGenerateComment = `` /* 142-byte string literal not displayed */
View Source
const ExampleValidationGenerate = `` /* 168-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type GoGenerateHelper

type GoGenerateHelper struct {
	ConfigPath   string
	OutputDir    string
	Verbose      bool
	DryRun       bool
	ValidateOnly bool
}

GoGenerateHelper provides utilities for working with go generate

func NewGoGenerateHelper

func NewGoGenerateHelper() *GoGenerateHelper

NewGoGenerateHelper creates a new helper with default settings

func (*GoGenerateHelper) GenerateCommand

func (h *GoGenerateHelper) GenerateCommand(packages ...string) string

GenerateCommand returns the encx-gen command string for go:generate

func (*GoGenerateHelper) ValidateCommand

func (h *GoGenerateHelper) ValidateCommand(packages ...string) string

ValidateCommand returns the encx-gen validate command string

Jump to

Keyboard shortcuts

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