Help us shape the future of Go! Take the 2026 Go Developer Survey

app

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client added in v0.5.0

func Client(c *cli.Context) error

func GenerateLayout

func GenerateLayout(args *config.Argument) error

func Init

func Init() *cli.App

func Model

func Model(c *cli.Context) error

func New

func New(c *cli.Context) error

func PluginMode

func PluginMode()

PluginMode checks if the current process was invoked as a protoc/thriftgo plugin (detected via EnvPluginMode env var). If so, it runs the plugin and exits. This is called before CLI parsing in main() to handle the plugin re-entry path.

func TriggerPlugin

func TriggerPlugin(args *config.Argument) error

TriggerPlugin invokes the IDL compiler (protoc/thriftgo) with hz registered as a plugin. The compiler parses the IDL and calls back into hz (via PluginMode) to generate code.

func Update

func Update(c *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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