Registry / orm / mattermost-gorp

mattermost-gorp

JSON →
library2.0.0+incompatiblegogounverified

Gorp provides a simple way to marshal Go structs to and from SQL databases using the database/sql package.

go get github.com/mattermost/gorp
INSTALL
IMPORT
SIG · MATTERMOST-GORP
M
mattermost-gorp
ormgov2.0.0+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gorp
github.com/mattermost/gorp

Initialize a DbMap with SQLite

package main import ( "database/sql" "fmt" "github.com/mattermost/gorp" _ "github.com/mattn/go-sqlite3" ) func main() { db, _ := sql.Open("sqlite3", ":memory:") dbmap := &gorp.DbMap{Db: db, Dialect: gorp.SqliteDialect{}} fmt.Println(dbmap) }
Debug
Known issues
gotchaThis is a fork of go-gorp/gorp; ensure compatibility with your driver.
fix
Use the original go-gorp/gorp if you need upstream updates.
affects: all
Upgrade
Version history
2.0.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
mattermost-gorp — go get mattermost-gorp · libregistry