gozz

command module
v0.0.0-...-794fa9e Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

README

logo

Go Go Go Report Card Go Reference

Last Commit codecov

Introduction

Documentation

English | 简体中文

Fast and Simple

Intuitive annotation syntax, clean and fast command line tools, runtime-dependencies-free generated codes.

Install
go install github.com/go-zing/gozz@latest
Usage

Gozz CLI is built with cobra, command syntax as follows:

gozz [--GLOBAL-FLAGS] [COMMAND] [--COMMAND-FLAGS] [ARGS]

The main plugin execute command would be:

gozz run -p "[PLUGIN][:OPTIONS]" filename
Annotation

Annotations are comments that stick with declaration object, and match syntax as follows:

// +zz:[PLUGIN][:ARGS][:OPTIONS]
type T interface{}

Check out here for more details.

Awesome Plugins

Gozz provides a series of awesome builtin plugins. Rather than Gozz provides these built-in plugins, Actually in order to integrate these plugins, we develop the toolkits named Gozz.

  • Wire Autowire DI and AOP proxy。
  • Api Generate API routing and invoker based on interface
  • Impl Sync interface and implement
  • Doc Generate runtime documentation based on comments。
  • Tag Manage structure field tags in templating。
  • Orm Generates data entity mapping code。
  • Option Generates Funcitonal Options code。

High Extensibility

We provide customizable generating templates, gozz-core for code analysis, edit and generate. External .so plugins and official external supported also.

gozz install [--output/-o] [--filepath/-f] [repository] 

Showcase

License

Apache-2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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