Giter Site home page Giter Site logo

go-template's Introduction

go-template

go-template是基于Golang的API模板项目,提供了一些常用的功能Demo,以供参考学习!

目录结构

go-template:
    - assets
    - bin
    - cmd
    - conf
    - deployment
    - docs
    - global
    - internal
    - log
    - middleware
    - pkg
    - router
    - script
assets:     存放资源文件
bin:        存放二进制文件
conf:       存放配置文件
cmd:        存放程序入口代码
deployment: 存放部署相关代码
docs:       存放文档
global:     存放全局变量
internal:   存放业务代码
log:        存放日志文件
middleware: 存放中间件代码
pkg:        存放模型代码
router:     存放路由代码
runtime:    存放运行时生成文件
script:     存放脚本文件

集成组件

  1. 支持 viper 组件,用以解析配置文件
  2. 支持 gorm 组件,用以连接数据库
  3. 支持 gormt 组件,用以数据库映射
  4. 支持 zap 组件,用以收集日志
  5. 支持 RESTFUL,用以规范接口
  6. 支持 Swagger 组件,用以生成接口文档
  7. 支持 websocket,实现实时通讯
  8. 支持 cron, 实现定时任务
  9. 支持 jwt 组件,实现权限管理

Acknowledgments

以下项目对go-template有重大参考意义

联系作者

联系作者

go-template's People

Contributors

feiria avatar

Watchers

 avatar

Forkers

huoxue1

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.