Giter VIP home page Giter VIP logo

boy's Introduction

    __
   / /_  ____  __  __
  / __ \/ __ \/ / / /
 / /_/ / /_/ / /_/ /
/_.___/\____/\__, /
            /____/

boy

boy 是一个golang语言开发者的工具集,包括工程结构定义和自动生成. 以及一些可以用命令行容易支持的命令.

boy 的感觉是一个孩子, 你在指挥一个小孩帮你完成一些琐碎的小事.

我为什么要做这个工具

其他语言, 有一个工程创建向导. 比如vc, 极大的提高了生产力. 但是互联网公司每一家公司的代码规范都不一样. 我也看过开源的规范, 在符合公司需求上还是有差距的. 我曾经在美菜运维团队工作过一年, 对大型团队的基础设施优化有一定经验. 这么多年我在用golang的时候也有比较多的痛点. 需要集体解决一下.

我应该如何用这个工具

这个工具是面向小型团队的,比如php转golang的时候, 只有一两个golang的开发人员. 或者总体人数不超过5人的小团队以及个人开发者. 对于大一点的团队, 是会根据自己的业务发展需求,定制一些开发规范的. 好在这个工具设计的时候不那么死板, 可以通过二次开发提高自己的效率.

为什么推荐用这个集成工具,而不是框架

我看过一些框架, 都是大一统的设计. 特别排外. 比如几乎没有框架吧gin集成进去. go的开发更像是一个大集, 网上有各种各样的代码库. 如果你找到更好的,那就可以切换过去. 框架锁死了这种能力. 反而给人更多的不安全感. 比如某些框架很容易烂尾. 通过一个低成本的集成工具,提高golang代码的质量和研发效率.达到和框架媲美的效果

扩展

比如python可以建立一个文件服务器, 那boy也集成这个功能进来.后续会集成更多功能

运行图

    __
   / /_  ____  __  __
  / __ \/ __ \/ / / /
 / /_/ / /_/ / /_/ /
/_.___/\____/\__, /
            /____/
可以很容易的创建一个工程, 集成一些常用的包, 欢迎提出建设意见

Usage:
  boy [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  db          添加数据库
  file        当前目录开一个文件上传下载服务
  help        Help about any command
  init        初始化工程文件
  make        编译当前目录的工程
  run         A brief description of your command

Flags:
  -h, --help     help for boy
  -t, --toggle   Help message for toggle

Use "boy [command] --help" for more information about a command.

boy's People

Contributors

antboard avatar

Watchers

 avatar  avatar

Forkers

haysons

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.