Coder Social home page Coder Social logo

logoove / sqlite Goto Github PK

View Code? Open in Web Editor NEW
67.0 67.0 21.0 14.95 MB

一个不使用cgo的database/sql标准sqlite3驱动,原驱动`modernc.org/sqlite`,但是速度不行,搬迁过来,这样就能在goframe和其他框架中使用.

License: BSD 3-Clause "New" or "Revised" License

Go 90.07% Makefile 1.64% C 8.29%
sqlite sqlite3

sqlite's Issues

goframe中要如何使用?

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?

panic: sql: Register called twice for driver sqlite3

在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

could you support go.mod ?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.