logoove / sqlite Goto Github PK
View Code? Open in Web Editor NEW一个不使用cgo的database/sql标准sqlite3驱动,原驱动`modernc.org/sqlite`,但是速度不行,搬迁过来,这样就能在goframe和其他框架中使用.
License: BSD 3-Clause "New" or "Revised" License
一个不使用cgo的database/sql标准sqlite3驱动,原驱动`modernc.org/sqlite`,但是速度不行,搬迁过来,这样就能在goframe和其他框架中使用.
License: BSD 3-Clause "New" or "Revised" License
/root/go/pkg/mod/modernc.org/[email protected]/libc_unix.go:29:2: cannot find package
/root/go/pkg/mod/modernc.org/[email protected]/libc_unix.go:30:2: cannot find package
/root/go/pkg/mod/modernc.org/[email protected]/libc_unix.go:31:2: cannot find package
/root/go/pkg/mod/modernc.org/[email protected]/libc_unix.go:34:2: cannot find package
readme中提到的
goframe中只需在boot 下面go文件里面加上 _ github.com/logoove/sqlite即可在orm使用,不需要任何其他修改
有没有具体的例子或步骤?
cannot find database driver for specified database type "sqlite", did you misspell type name "sqlite" or forget importing the database driver?
是否考虑支持一下dsn选项
請問是否有相關的使用說明呢? 謝謝!
在goframe中使用会报错:
panic: sql: Register called twice for driver sqlite3
goroutine 1 [running]:
database/sql.Register({0x7ff6894d1a64, 0x7}, {0x7ff689bd7b00, 0xc0002cb160})
C:/Program Files/Go/src/database/sql/sql.go:51 +0x1e5
github.com/mattn/go-sqlite3.init.0()
C:/Users/FireTiger/go/pkg/mod/github.com/mattn/[email protected]/sqlite3.go:237 +0x89
goroutine 1 [running]:
modernc.org/libc.newFile(0xf1cd00?, 0x10cbd70?)
D:/env/gopkg/mod/modernc.org/[email protected]/libc_windows.go:293 +0x9e
modernc.org/libc.init()
D:/env/gopkg/mod/modernc.org/[email protected]/libc.go:56 +0x14a5
2024-04-01 11:53:49,948 INFO 8372 [ee-core] [corss/process] received a exit from child-process, code:2, signal:null, pid:5692
i want to reply this lib , but i go get fail
you can init like go mod init github.com/logoove/sqlite
in the root of the project
带密码的sqlite如何操作?
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.