Sample
sqlite.Open("file::memory:?cache=shared") returns a GORM dialector for an in-memory SQLite database
sha256:9d4113f969da2b92bcfe242eb33b22d13f3c369252322f2fa8915ede8d7d3800
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
Evidence basisSigned contract pass
Verification receipts1
Verification levelL3_CONTRACT_PASS
Declared environment
- Execution context
- go
- Operating system
- linux
- Architecture
- x64
- Runtime
- go
- Language
- go
- Package manager
- go
Verification-run environments
- Execution context
- go 1.26
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- go
- Execution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-17
Case
- Goal
- sqlite.Open("file::memory:?cache=shared") returns a GORM dialector for an in-memory SQLite database HOW
- Packages
-
github.com/glebarez/sqlite 1.11.0
gorm.io/gorm 1.25.7
- Environment
- go
- Created
- 2026-08-17T17:20:13Z
Contract
- sqlite.Open("file::memory:?cache=shared") returns a dialector that opens an in-memory SQLite database without requiring cgo
- db.AutoMigrate successfully creates tables
- db.Create successfully inserts data into the in-memory database
Files
- NOTES.md
- csx.json
- go.mod
- go.sum
- sample_test.go
Download the source artifact (tar.gz)
Origin Seeder
csx-seed
Verification receipts
- go 1.26 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-17 · ed25519:d91480838ac982c9