Git Product home page Git Product logo

yangyile-yyle88's Projects

gormcngen icon gormcngen

gormcngen help gen enum code with gormcnm. 因为gormcnm能够以枚举定义字段名和字段类型,这个工具gormcngen就是自动帮你生成枚举代码的。

gormcnm icon gormcnm

gormcnm means: gorm column name. can help you use enum column name and enum type define. not use raw string. 该工具能枚举gorm的字段名和列类型,这样能避免gorm使用者在项目中写太多原始字符串,也就能避免写错,当您需要修改gorm字段时,该工具也能帮助您在编码阶段或编译阶段就发现问题,使得重构gorm类型更简单更轻松更可靠。当然该工具还提供一些简单的逻辑,使得查询操作变得更容易,但这都是建立在您已经充分掌握gorm基本增删改查操作的基础上的。我自己开发出来以后觉得非常好用,就顺带把它开源出来,以方便以后我做别的项目,也方便大家,希望大家能给星星哦,谢谢大家。

regginroute icon regginroute

regginroute means register gin routes. 非常简单的gin路由注册器。

syncmap icon syncmap

Generic sync map. sync map generic. 该工具效果不言而喻,当你用sync.Map的时候,能够指定类型,这样set的时候就能避免类型错误,而get出来的时候也能省去类型转换,其100%兼容sync.Map,您可以将原来该使用sync.Map的地方直接替换为使用该工具,能帮您省几行代码提高一丝一毫的效率。通常我认为,sync.Map里存的数据都是相同类型的,因此做了这个工具,当然,假如你的键或值是不同类型的,这个工具将不适用。在没有这个工具以前,sync.Map因为要使用interface{},有点麻烦,而常常被开发者有意避免使用,在有这个工具以后情况会有所改善。

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.