How to Install and Uninstall golang-gopkg-pg.v5-dev Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 23,2024
1. Install "golang-gopkg-pg.v5-dev" package
This is a short guide on how to install golang-gopkg-pg.v5-dev on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
golang-gopkg-pg.v5-dev
Copied
2. Uninstall "golang-gopkg-pg.v5-dev" package
This tutorial shows how to uninstall golang-gopkg-pg.v5-dev on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
golang-gopkg-pg.v5-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang-gopkg-pg.v5-dev package on Ubuntu 21.04 (Hirsute Hippo)
Package: golang-gopkg-pg.v5-dev
Architecture: all
Version: 5.3.3-3.1
Priority: extra
Section: universe/devel
Source: golang-gopkg-pg.v5
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 411
Depends: golang-github-jinzhu-inflection-dev, golang-ginkgo-dev, golang-gomega-dev, golang-gopkg-check.v1-dev
Filename: pool/universe/g/golang-gopkg-pg.v5/golang-gopkg-pg.v5-dev_5.3.3-3.1_all.deb
Size: 65736
MD5sum: 967dab60ef8c189140d01357d8b73907
SHA1: 743ec02b45ed97095980450d5638ac450bb1ee00
SHA256: da12ce035e96a5355f1c9bd772eddc8f1b6593655a825216c39084337d8cbb83
SHA512: 8d91dc699f2b49ee5cf2d9f352a3074c54331e6ca65a3a4fc33c3bfee5967ee2047c354543de526c8a1b6c55de2fff8a79436f00dc24942ae3c9fe0bffc4675d
Homepage: https://github.com/go-pg/pg
Description-en: PostgreSQL client and ORM for Golang
Go-pg is a convenient PostgreSQL client and ORM for Golang with the
following features:
.
- Basic types: integers, floats, string, bool, time.Time.
sql.NullBool, sql.NullString, sql.NullInt64,
sql.NullFloat64 and pg.NullTime
- sql.Scanner and sql/driver.Valuer interfaces
- Structs, maps and arrays are marshalled as JSON by default
- PostgreSQL multidimensional Arrays using array tag and Array wrapper
- Hstore using hstore tag and Hstore wrapper
- All struct fields are nullable by default and zero values (empty string,
0, zero time) are marshalled as SQL NULL. ``sql:",notnull"` is used to
reverse this behaviour
- Transactions
- Prepared statements
- Notifications using LISTEN and NOTIFY
- Copying data using COPY FROM and COPY TO
- Timeouts
- Automatic connection pooling
- Queries retries on network errors
- Working with models using ORM and SQL
- Scanning variables using ORM and SQL
- SelectOrInsert using on-conflict
- INSERT ... ON CONFLICT DO UPDATE using ORM
- Common table expressions using WITH and WrapWith
- CountEstimate using EXPLAIN to get estimated number of matching rows
- HasOne, BelongsTo, HasMany and ManyToMany-
- Creating tables from structs
- Migrations
- Sharding
Description-md5: 010857d965acef0a3fcb4dda67636101
Architecture: all
Version: 5.3.3-3.1
Priority: extra
Section: universe/devel
Source: golang-gopkg-pg.v5
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 411
Depends: golang-github-jinzhu-inflection-dev, golang-ginkgo-dev, golang-gomega-dev, golang-gopkg-check.v1-dev
Filename: pool/universe/g/golang-gopkg-pg.v5/golang-gopkg-pg.v5-dev_5.3.3-3.1_all.deb
Size: 65736
MD5sum: 967dab60ef8c189140d01357d8b73907
SHA1: 743ec02b45ed97095980450d5638ac450bb1ee00
SHA256: da12ce035e96a5355f1c9bd772eddc8f1b6593655a825216c39084337d8cbb83
SHA512: 8d91dc699f2b49ee5cf2d9f352a3074c54331e6ca65a3a4fc33c3bfee5967ee2047c354543de526c8a1b6c55de2fff8a79436f00dc24942ae3c9fe0bffc4675d
Homepage: https://github.com/go-pg/pg
Description-en: PostgreSQL client and ORM for Golang
Go-pg is a convenient PostgreSQL client and ORM for Golang with the
following features:
.
- Basic types: integers, floats, string, bool, time.Time.
sql.NullBool, sql.NullString, sql.NullInt64,
sql.NullFloat64 and pg.NullTime
- sql.Scanner and sql/driver.Valuer interfaces
- Structs, maps and arrays are marshalled as JSON by default
- PostgreSQL multidimensional Arrays using array tag and Array wrapper
- Hstore using hstore tag and Hstore wrapper
- All struct fields are nullable by default and zero values (empty string,
0, zero time) are marshalled as SQL NULL. ``sql:",notnull"` is used to
reverse this behaviour
- Transactions
- Prepared statements
- Notifications using LISTEN and NOTIFY
- Copying data using COPY FROM and COPY TO
- Timeouts
- Automatic connection pooling
- Queries retries on network errors
- Working with models using ORM and SQL
- Scanning variables using ORM and SQL
- SelectOrInsert using on-conflict
- INSERT ... ON CONFLICT DO UPDATE using ORM
- Common table expressions using WITH and WrapWith
- CountEstimate using EXPLAIN to get estimated number of matching rows
- HasOne, BelongsTo, HasMany and ManyToMany-
- Creating tables from structs
- Migrations
- Sharding
Description-md5: 010857d965acef0a3fcb4dda67636101