Giter Site home page Giter Site logo

go-generate-examples's Introduction

go-generate-examples

name description
goyacc Go的Yacc。
stringer 实现fmt.Stringer枚举的接口。
gostringer fmt.GoStringer为枚举实现接口。
jsonenums 枚举的实现json.Marshaler和json.Unmarshaler接口。
go-syncmap 使用软件包作为的通用模板生成Go代码sync.Map。
go-syncpool 使用软件包作为的通用模板生成Go代码sync.Pool。
go-atomicvalue 使用软件包作为的通用模板生成Go代码atomic.Value。
go-nulljson 使用包作为实现database/sql.Scanner和的通用模板生成Go代码database/sql/driver.Valuer。
go-enum 使用包作为实现接口的通用模板生成Go代码fmt.Stringer binary, json,text,sql,yaml枚举。
go-import 执行非go文件的自动导入。
gojson 从示例json文档生成go结构定义。
vfsgen 生成静态实现给定虚拟文件系统的vfsdata.go文件。
goreuse 使用包作为通用模板通过替换定义来生成Go代码。
embedfiles 将文件嵌入Go代码。
ragel 状态机编译器
peachpy 嵌入在Python中的x86-64汇编器,生成Go汇编
bundle Bundle创建适用于包含在特定目标软件包中的源软件包的单一源文件版本。
msgp MessagePack的Go代码生成器
protobuf protobuf
thriftrw thrift
gogen-avro avro
swagger-gen-types 从swagger定义中去生成代码
avo 使用Go生成汇编代码
Wire Go的编译时依赖注入
sumgen 从sum-type声明生成接口方法实现
interface-extractor 生成所需类型的接口,仅在包内使用方法。
deep-copy 为给定类型创建深度复制方法。
swagger-doc 自动生成swagger文件并加载swagger服务
easyjson 生成高性能的JSON序列化和反序列化接口,避免使用系统默认生成的基于反射的接口
ifacepropagate 生成已有结构/类型/接口导出的wrapper来为已有接口提供附加功能
enumer 枚举生成text(string)/json/yaml/sql序列化、反序列化接口

references

https://blog.golang.org/generate https://www.jianshu.com/p/baee606f1056

go-generate-examples's People

Contributors

chennqqi avatar

Watchers

 avatar  avatar

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.