go-sqlite
Golang database driver for SQLite.
Does not use cgo.
This driver is based on pure-Go SQLite implementation (https://gitlab.com/cznic/sqlite), so you don't need SQLite installed.
Golang database driver for SQLite.
Does not use cgo.
This driver is based on pure-Go SQLite implementation (https://gitlab.com/cznic/sqlite), so you don't need SQLite installed.
Hi,
I'm getting the above error when using the github.com/glebarez/sqlite
driver with gorm
.
My data is time.Time
and the data in sqlite
is 2021-12-21 08:01:20.551331201 +0330 +0330 m=+11.313890570
which fails, instead of 2021-12-20 20:26:40.91694302+03:30
.
All works with the mattn
driver.
What can I do? what am I doing wrong?
Bumps modernc.org/libc from 1.14.5 to 1.14.9.
e57b9ea
updates dependenciesbef4a02
Updated parsing the /etc/services file to not panice687f0f
riscv64 regenerate, make tests pass6df6f97
add riscv64 initial support, builds but not works yet, updates #163e3463f
update dependenciescd5b52b
Skip /etc/protocol lines that don't match expected format instead of panickingDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps modernc.org/libc from 1.13.2 to 1.14.1.
1dc9c24
openbsd/amd64: update Makefile119a5d6
add openbsd/amd64 support, updates #11Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot will merge this PR once CI passes on it, as requested by @glebarez.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps modernc.org/libc from 1.14.5 to 1.14.8.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps modernc.org/libc from 1.20.3 to 1.21.0.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps modernc.org/libc from 1.20.3 to 1.20.5.
f509dd3
freebsd: add __{tolower,toupper}f6f2936
windows: fix printf "%p"Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps modernc.org/libc from 1.19.0 to 1.20.4.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps modernc.org/libc from 1.19.0 to 1.20.3.
ce56c18
printf: fix %i6387729
support llabs(3)21afd45
printf: fix %p2ad16bb
$ go run addport freebsd_386 openbsd_386 + fixesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps schneegans/dynamic-badges-action from 1.4.0 to 1.5.0.
Sourced from schneegans/dynamic-badges-action's releases.
Dynamic Badges v1.5.0
This release adds a check which ensures that the gist is not written if the content did not change. You can read the full changelog.
Sourced from schneegans/dynamic-badges-action's changelog.
Dynamic Badges Action 1.5.0
Release Date: 2022-10-09
Changes
- The gist is now not updated anymore if the content did not change. This prevents many gist revisions without actual changes. You can restore the original behavior by setting the optional
forceUpdate
parameter totrue
. A BIG thanks to@MishaKav
for this contribution!- Example color range badges have been added to the README.
- All node dependencies have been updated.
9e75560
:tada: Set release datea1164e8
Merge branch 'feature/color-range-example'e1f1d9b
:memo: Use new version in README.md4c062c0
:twisted_rightwards_arrows: Merge pull request #19 from Schneegans/feature/co...f0dea33
:memo: Add changelog entry1858278
:memo: Add color range examplesd3f0673
:wrench: Add color range badgesbbc75b5
:twisted_rightwards_arrows: Merge pull request #18 from Schneegans/feature/up...2dc28ea
:wrench: Revert changesc5926f1
:memo: Add some commentsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)When I go to compile a project that uses github.com/glebarez/go-sqlite the compilation fails as follows ( '***' = redacted):
App Type: desktop
Platforms: windows/amd64
Compiler: C:\Program Files\Go\bin\go.exe
Skip Bindings: false
Build Mode: Debug
Frontend Directory: C:\Users\***\source\wails\notitrace-client\frontend
Obfuscated: false
Skip Frontend: false
Compress: false
Package: true
Clean Bin Dir: false
LDFlags: ""
Tags: [exp_gowebview2loader]
Race Detector: false
Building target: windows/amd64
------------------------------
Generating bindings: Error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x1 addr=0x20 pc=0xceaa73]
goroutine 1 [running]:
database/sql.(*DB).conn(0x0, {0x120eef0, 0xc00000e060}, 0x1)
C:/Program Files/Go/src/database/sql/sql.go:1288 +0x53
database/sql.(*DB).exec(0xabdb5f?, {0x120eef0, 0xc00000e060}, {0xfc3351, 0xf7}, {0x0, 0x0, 0x0}, 0x8?)
C:/Program Files/Go/src/database/sql/sql.go:1655 +0x5d
database/sql.(*DB).ExecContext(0xc000042000?, {0x120eef0, 0xc00000e060}, {0xfc3351, 0xf7}, {0x0, 0x0, 0x0})
C:/Program Files/Go/src/database/sql/sql.go:1633 +0xe5
database/sql.(*DB).Exec(...)
C:/Program Files/Go/src/database/sql/sql.go:1651
notitrace/modules/localstore.LocalStore.DdlExec({{0x0?, 0x15184e0?}, 0x0?}, {0xfc3351, 0xf7})
C:/Users/***/source/wails/notitrace-client/modules/localstore/localstore.go:82 +0x68
notitrace/modules/localstore.(*IdentityRepo).initTables(0xfa38ca?)
C:/Users/***/source/wails/notitrace-client/modules/localstore/identityRepo.go:29 +0x37
notitrace/modules/localstore.NewIdentityRepo(...)
C:/Users/***/source/wails/notitrace-client/modules/localstore/identityRepo.go:16
main.NewApp(0xc000008780)
C:/Users/***/source/wails/notitrace-client/app.go:21 +0x53
main.main()
C:/Users/***/source/wails/notitrace-client/main.go:34 +0x1c7
exit status 2
ERROR:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x1 addr=0x20 pc=0xceaa73]
goroutine 1 [running]:
database/sql.(*DB).conn(0x0, {0x120eef0, 0xc00000e060}, 0x1)
C:/Program Files/Go/src/database/sql/sql.go:1288 +0x53
database/sql.(*DB).exec(0xabdb5f?, {0x120eef0, 0xc00000e060}, {0xfc3351, 0xf7}, {0x0, 0x0, 0x0}, 0x8?)
C:/Program Files/Go/src/database/sql/sql.go:1655 +0x5d
database/sql.(*DB).ExecContext(0xc000042000?, {0x120eef0, 0xc00000e060}, {0xfc3351, 0xf7}, {0x0, 0x0, 0x0})
C:/Program Files/Go/src/database/sql/sql.go:1633 +0xe5
database/sql.(*DB).Exec(...)
C:/Program Files/Go/src/database/sql/sql.go:1651
notitrace/modules/localstore.LocalStore.DdlExec({{0x0?, 0x15184e0?}, 0x0?}, {0xfc3351, 0xf7})
C:/Users/***/source/wails/notitrace-client/modules/localstore/localstore.go:82 +0x68
notitrace/modules/localstore.(*IdentityRepo).initTables(0xfa38ca?)
C:/Users/***/source/wails/notitrace-client/modules/localstore/identityRepo.go:29 +0x37
notitrace/modules/localstore.NewIdentityRepo(...)
C:/Users/***/source/wails/notitrace-client/modules/localstore/identityRepo.go:16
main.NewApp(0xc000008780)
C:/Users/***/source/wails/notitrace-client/app.go:21 +0x53
main.main()
C:/Users/***/source/wails/notitrace-client/main.go:34 +0x1c7
exit status 2
Any thoughts why such issues would pop up while compiling this driver?
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Thanks for ur amazing work on https://github.com/glebarez/go-sqlite, which is VERY great project.
BTW, is there any possible way to encrypt database without relying on CGO
?
Full Changelog: https://github.com/glebarez/go-sqlite/compare/v1.19.5...v1.20.0
Source code(tar.gz)Full Changelog: https://github.com/glebarez/go-sqlite/compare/v1.19.2...v1.19.5
Source code(tar.gz)Full Changelog: https://github.com/glebarez/go-sqlite/compare/v1.18.3...v1.19.2
Source code(tar.gz)Full Changelog: https://github.com/glebarez/go-sqlite/compare/v1.18.2...v1.18.3
Source code(tar.gz)Update to SQLite 3.39.3
Source code(tar.gz)Full Changelog: https://github.com/glebarez/go-sqlite/compare/v1.18.0...v1.18.1
Source code(tar.gz)Full Changelog: https://github.com/glebarez/go-sqlite/compare/v1.17.3...v1.18.0
Source code(tar.gz)Full Changelog: https://github.com/glebarez/go-sqlite/compare/v1.17.2...v1.17.3
Source code(tar.gz)We use ClickkHouse for time-series databases, and the driver's performance is ve
Devcloud-go Devcloud-go provides a sql-driver for mysql which named devspore driver and a redis client which named devspore client, you can use them w
Bionic Bionic is a tool to convert data exports from web apps to a single SQLite database. Bionic currently supports data exports from Google, Apple H
BigQuery SQL Driver This library is compatible with Go 1.17+ Please refer to CHA
?? athenadriver - A fully-featured AWS Athena database driver for Go ?? athenareader - A moneywise command line utililty to query athena in command li
Apache H2 Database Go Driver This driver is VERY experimental state NOT use for production yet Introduction Apache H2 Database is a very-low footprint
sqlhooks Attach hooks to any database/sql driver. The purpose of sqlhooks is to provide a way to instrument your sql statements, making really easy to
OpenTelemetry SQL database driver wrapper for Go Add a OpenTelemetry wrapper to
go-sql-spanner Google Cloud Spanner driver for Go's database/sql package. This support is currently in the Preview release status. import _ "github.co
sqlair SQLite Query Layer Creates an abstract over the go sql package to provide
Package SQLittle provides pure Go, read-only, access to SQLite (version 3) database files. What SQLittle reads SQLite3 tables and indexes. It iterates
zombiezen.com/go/sqlite This package provides a low-level Go interface to SQLite 3. It is a fork of crawshaw.io/sqlite that uses modernc.org/sqlite, a
Litestream Litestream is a standalone streaming replication tool for SQLite. It runs as a background process and safely replicates changes incremental
sqlite3vfshttp: a Go sqlite VFS for querying databases over http(s) sqlite3vfshttp is a sqlite3 VFS for querying remote databases over http(s). This a
Basic Query Builder Why Simple, lightweight, and fast Supports any and all syntax by the nature of how it works Doesn't require learning special synta
go-mysql-sqlite-server This is an experimental implementation of a SQLite backend for go-mysql-server from DoltHub. The go-mysql-server is a "frontend
dblite SQLite extension for accessing other SQL databases, in SQLite. Similar to how Postgres Foreign Data Wrappers enable access to other databases i
RecordLite RecordLite is a library (and executable) that declaratively maintains
Tracking down a Memory Leak in Go/SQLite run make test - WARNING: long running - several minutes on my workstation OSs supported: Windows_NT => memory