sql (database/sql)
standard libraryPackage sql provides a generic interface around SQL (or SQL-like) databases.
Package sqlgraph provides graph abstraction capabilities on top of sql-based databases for ent codegen.
package mssql implements the TDS protocol used to connect to MS SQL Server (sqlserver) database servers.
Package dburl provides a standard, net/url.URL style mechanism for parsing and opening SQL database connection strings for Go.
package mssql implements the TDS protocol used to connect to MS SQL Server (sqlserver) database servers.
Package sql provides functions to trace the database/sql package (https://golang.org/pkg/database/sql).
Package mysql provides a MySQL driver for Go's database/sql package.
SQL Schema migration tool for Go.
Package gorp provides a simple way to marshal Go structs to and from SQL databases.
Package gorp provides a simple way to marshal Go structs to and from SQL databases.
Package gorp provides a simple way to marshal Go structs to and from SQL databases.
Package sqlite3 provides interface to SQLite3 databases.
Package sessions provides sessions support for net/http and valyala/fasthttp unique with auto-GC, register unlimited number of databases to Load and Update/Save the sessions in external server or to an external (no/or/and sql) database Usage net/http: // init a new sessions manager( if you use only one web framework inside your app then you can use the package-level functions like: sessions.Start/sessions.Destroy) manager := sessions.New(sessions.Config{}) // start a session for a particular client manager.Start(http.ResponseWriter, *http.Request) // destroy a session from the server and client, // don't call it on each handler, only on the handler you want the client to 'logout' or something like this: manager.Destroy(http.ResponseWriter, *http.Request) Usage valyala/fasthttp: // init a new sessions manager( if you use only one web framework inside your app then you can use the package-level functions like: sessions.Start/sessions.Destroy) manager := sessions.New(sessions.Config{}) // start a session for a particular client manager.StartFasthttp(*fasthttp.RequestCtx) // destroy a session from the server and client, // don't call it on each handler, only on the handler you want the client to 'logout' or something like this: manager.DestroyFasthttp(*fasthttp.Request) Note that, now, you can use both fasthttp and net/http within the same sessions manager(.New) instance! So now, you can share sessions between a net/http app and valyala/fasthttp app
Package redis is a client for the Redis database.
Package leveldb provides implementation of LevelDB key/value database.
Package redis is a client for the Redis database.
Package postgres adds a 'cloudsqlpostgres' driver to use when you want to access a Cloud SQL Database via the go database/sql library.
SQLair is a convenience layer for SQL databases that embeds Go structs and maps directly into SQL queries.
Package gorp provides a simple way to marshal Go structs to and from SQL databases.
Package geoip2 provides an easy-to-use API for the MaxMind GeoIP2 and GeoLite2 databases; this package does not support GeoIP Legacy databases.