shenghui0779 / yiigo Goto Github PK
View Code? Open in Web Editor NEWGo 开发工具包
Home Page: https://pkg.go.dev/github.com/shenghui0779/yiigo
License: Apache License 2.0
Go 开发工具包
Home Page: https://pkg.go.dev/github.com/shenghui0779/yiigo
License: Apache License 2.0
cgo: exec gcc: exec: "gcc": executable file not found in %PATH%
行167,171,175
redis.DialUsername
panic: reflect: call of reflect.Value.NumField on zero Value
github.com/shenghui0779/yiigo.(*QueryWrapper).batchInsertWithStruct(0xc000161400, 0x1b1f680, 0xc000a16000, 0x97)
.../mod/github.com/shenghui0779/[email protected]/sql_builder.go:299 +0x111
轻量级开发通用库,怎么能不支持sqlite呢?
目前选用的是 github.com/mattn/go-sqlite3,这个需要依赖CGO,如果使用的话,其实对系统环境侵入还是比较大的。
github也有纯go实现的sqlite库,比如:https://github.com/glebarez/sqlite ,建议也可以考虑选择这个库。
主程序如果也用到了mysql,就会重复引入。
我只是升级了gochat,这里却引入 了那么多跟DB相关的内容。
能否再精简一下?谢谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.