Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.1 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.1 KB

Library

go get -u github.com/kataras/iris

go get -u github.com/tkanos/gonfig

go get -u github.com/jinzhu/gorm

go get -u github.com/go-sql-driver/mysql

go get -u github.com/mintance/go-uniqid

go get -u github.com/google/uuid

go get -u github.com/go-redis/redis

go get -u github.com/jinzhu/now

go get -u gopkg.in/Knetic/govaluate.v2

go get -u go.mongodb.org/mongo-driver/mongo
=>>https://github.com/mongodb/mongo-go-driver/releases/tag/v1.1.3
https://stackoverflow.com/questions/58576189/go-mongodb-org-mongo-driver-vendor-github-com-datadog-zstd-exec-gcc-execut

go get github.com/mileusna/useragent


cd C:\xampp\apache\bin
ab -n 100 -c 1 http://localhost:8080/...

Có 1 khóa chính - có key JSON
HfSummon
u.DB.First(&s).Count(&count)

Có 2 khóa chính - có key JSON 
results := []HfExplore{};
u.DB.Where(e).First(&results).Count(&count)
*e = results[0]

Có 2 khóa chính
HfEquipStar
db.Where(es).First(&es).Count(&count)
db.First(&es).Count(&count)