{"id":74593,"library":"gorp-v2","title":"Gorp","description":"Package gorp provides a simple way to marshal Go structs to and from SQL databases.","status":"active","version":"2.2.0","language":"go","source_language":null,"source_url":"https://github.com/go-gorp/gorp","tags":["orm","sql","database","struct-mapping"],"install":[{"cmd":"go get gopkg.in/gorp.v2","lang":"bash","label":"Install gopkg.in/gorp.v2"}],"dependencies":[],"imports":[{"symbol":"gorp","correct":"gopkg.in/gorp.v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"database/sql\"\n\t\"gopkg.in/gorp.v2\"\n\t_ \"github.com/mattn/go-sqlite3\"\n)\n\nfunc main() {\n\tdb, _ := sql.Open(\"sqlite3\", \":memory:\")\n\tdbmap := &gorp.DbMap{Db: db, Dialect: gorp.SqliteDialect{}}\n\tdefer dbmap.Db.Close()\n}","lang":"go","description":"Create a DbMap for SQLite"},"warnings":[{"fix":"Use gopkg.in/gorp.v2 for v2.x releases","message":"Gorp v2 uses gopkg.in/gorp.v2 import path; v1 uses gopkg.in/gorp.v1","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'databas':16,19 'go':10 'gorp':1,3 'map':22 'marshal':9 'orm':17 'packag':2 'provid':4 'simpl':6 'sql':15,18 'struct':11,21 'struct-map':20 'way':7","created_at":"2026-06-17T19:05:45.934858+00:00","updated_at":"2026-06-17T19:05:45.934858+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-gorp/gorp","github":"https://github.com/go-gorp/gorp","docs":"https://pkg.go.dev/gopkg.in/gorp.v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","orm"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}