protoc-gen-goku

command module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: MIT Imports: 3 Imported by: 0

README

GoKu(悟空) - 看我七十二变

  • 基于go/templateprotobuf代码生成工具
  • 使用本工具前请先了解descriptor.proto

Documents

项目介绍

生命周期

插件开发指导

配置说明

GoTemplate介绍

TODO

  • 介绍文档:生命周期/配置说明等
  • 生成内置函数使用文档
  • 寻找一个更简洁易用的模板引擎替换go/template
  • 更加完善的golang插件
  • 对自定义option的支持
  • 提供工具: 将外置的配置/模板也打包进来

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
此包是为扩展 google.protobuf.descriptor 的功能, 所有结构除了 protoc-gen-go 为每个 Field 生成的 getter: GetField() 之外, 还生成了 Field() 方法。
此包是为扩展 google.protobuf.descriptor 的功能, 所有结构除了 protoc-gen-go 为每个 Field 生成的 getter: GetField() 之外, 还生成了 Field() 方法。
examples
protoc-gen-goku Generator
protoc-gen-goku Generator
go/template helper functions
go/template helper functions
goku.Generator plugins
goku.Generator plugins
golang
golang plugin
golang plugin

Jump to

Keyboard shortcuts

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