Code Monkey home page Code Monkey logo

gozz's Introduction

logo

Go Go Go Report Card Go Reference

License: MIT 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.