# Bitkop **Repository Path**: EdenPP/Bitkop ## Basic Information - **Project Name**: Bitkop - **Description**: Bitkop交易引擎 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: dev2.0 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-10-31 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Bitkop.v2 OTE ## 目录结构 ``` |- bitkop-go |- src/ |- global/ |- server/ |- bitkop/ |- kline/ |- ote/ |- order/ |- github.com/ |- gopkg.in |- golang.org |- README.md |- .gitignore ``` ## 版本要求 - golang: 1.10.* - iris 框架: 10.4.* ## 参考文档 - [iris框架文档](https://docs.iris-go.com/) - [gorm数据库操作文档](http://gorm.book.jasperxu.com/) - [redigo操作文档](https://github.com/gomodule/redigo) ## 安装第三方包 ``` $ go get -u github.com/kataras/iris $ go get -u github.com/go-xorm/xorm $ go get -u github.com/go-sql-driver/mysql $ go get github.com/garyburd/redigo/redis $ go get github.com/BurntSushi/toml $ go get github.com/shopspring/decimal $ go get github.com/ngaut/log ``` ## 工具 **数据库结构导出 go 代码** 手动执行: ``` xorm reverse -s mysql "work:TkkN3jT#urz^Mwgh@tcp(47.94.204.36:3306)/bitkop?charset=utf8" github.com/go-xorm/cmd/xorm/templates/goxorm global/structs ```