codegen

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFile

func GenerateFile(gen *protogen.Plugin, file *protogen.File, config Config) *protogen.GeneratedFile

GenerateFile generates a _errors.pb.go file containing kratos errors definitions.

Types

type Config

type Config struct {
	GeneratorName string // e.g. "protoc-gen-go-errors" or "protoc-gen-orzkratos-errors"
}

Config holds generation configuration

Jump to

Keyboard shortcuts

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