You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhangjun 1a2aec187c
修改es索引mapping定义相关功能【keyword,date】
5 years ago
..
.idea 数据交换平台 5 years ago
Config 修改es索引mapping定义相关功能【keyword,date】 5 years ago
GenXorm 修改es索引mapping定义相关功能【keyword,date】 5 years ago
MiddleWare/SwagMock 数据交换平台 5 years ago
MyService 修改es索引mapping定义相关功能【keyword,date】 5 years ago
MyView zhangj 5 years ago
Utils 修改es索引mapping定义相关功能【keyword,date】 5 years ago
docs 修改es索引mapping定义相关功能【keyword,date】 5 years ago
ReadMe 数据交换平台 5 years ago
go.mod 修改es索引mapping定义相关功能【keyword,date】 5 years ago
go.sum 修改es索引mapping定义相关功能【keyword,date】 5 years ago
main.go 修改es索引mapping定义相关功能【keyword,date】 5 years ago

ReadMe

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

STEP 1:
增加GenXorm目录【包括models和templates子目录】使用Xorm命令生成数据库实体DAO【参考https://github.com/xormplus/xorm】;
1.1: go get github.com/go-xorm/cmd/xorm
1.2: go get github.com/go-sql-driver/mysql
1.3: cd genxorm
xorm reverse mysql root:dsideal@(127.0.0.1:3306)/db_dataex?charset=utf8 Templates

STEP 2
引入Gin;
2.1 go get github.com/gin-gonic/gin

STEP 3
引入Swagger;
3.1 go get "github.com/swaggo/gin-swagger"
go get "github.com/swaggo/gin-swagger/swaggerFiles"
3.2 在main文件增加引用 _ "dsDataex/docs"

STEP 4
引入Grpc;
go get "github.com/golang/protobuf"