Giter Club home page Giter Club logo

dota's Introduction

dota guess

license

Powered By YY @ 2013, Repowered @ 2017

Resources

If you need help getting started with Go itself, I recommend these resources:

  1. Go
  2. The Go tour
  3. How to write Go code
  4. Effective Go
  5. The Go Programming Language

Getting Started

go get [email protected]:formych/dota.git

cd $GOPATH/src/github.com/formych/dota

go get -u github.com/golang/dep/cmd/dep

dep ensure -v

go run main.go -c release/config/qa.yaml

build

sh build.sh

目录结构

  • api 对外接口
  • dao dao 操作
  • doc 说明文档
  • config 配置对象
  • model 业务逻辑
  • router 路由对象
  • release/bin 执行文件
  • release/config 配置文件

enum status

  • -1 删除
  • 0
  • 1 正常

todo list

  • 日志切割
  • 规范代码
  • 角色管理
  • 权限控制
  • 数据库读写分离, 事务
  • Redis, 缓存
  • 安全数量控制
  • 数据的强校验

用户登录,目前redis存储唯一key。 jwt包含id和唯一标识 业务估计不大 用户信息存储在Redis? token里面该包含什么

用redis控制奖金池, 参与人数, 比赛结算同意入库? 以后加入多种登录方式,注册内容更详细 dao的写法太繁琐,可以优化,后续

均分,按比例分 下拉加载 仅限移动端 输入法遮盖 累了就歇歇,不要放弃

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.