How to Install and Uninstall golang-github-jinzhu-now-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 21,2024

1. Install "golang-github-jinzhu-now-dev" package

This guide covers the steps necessary to install golang-github-jinzhu-now-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install golang-github-jinzhu-now-dev

2. Uninstall "golang-github-jinzhu-now-dev" package

Please follow the guidance below to uninstall golang-github-jinzhu-now-dev on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove golang-github-jinzhu-now-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-jinzhu-now-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: golang-github-jinzhu-now-dev
Priority: extra
Section: universe/devel
Installed-Size: 34
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Architecture: all
Source: golang-github-jinzhu-now
Version: 0.0~git20151001.0.ce80572-1
Filename: pool/universe/g/golang-github-jinzhu-now/golang-github-jinzhu-now-dev_0.0~git20151001.0.ce80572-1_all.deb
Size: 6000
MD5sum: a0eeb8393cee690dada9c68f825a6521
SHA1: 0738cb7cd16104909fb19da6f745e99bd9b36e1f
SHA256: 9133f8669bb5a93118e444b7971fcb90c31fc870825eb91479dc9daf8de98429
Description-en: time toolkit for golang
Package now is a time toolkit for golang.
.
time.Now() // 2013-11-18 17:51:49.123456789 Mon
.
BeginningOfMinute() // 2013-11-18 17:51:00 Mon
BeginningOfHour() // 2013-11-18 17:00:00 Mon
BeginningOfDay() // 2013-11-18 00:00:00 Mon
BeginningOfWeek() // 2013-11-17 00:00:00 Sun
.
FirstDayMonday = true // Set Monday as first day
BeginningOfWeek() // 2013-11-18 00:00:00 Mon
BeginningOfMonth() // 2013-11-01 00:00:00 Fri
BeginningOfQuarter() // 2013-10-01 00:00:00 Tue
BeginningOfYear() // 2013-01-01 00:00:00 Tue
.
EndOfMinute() // 2013-11-18 17:51:59.999999999 Mon
EndOfHour() // 2013-11-18 17:59:59.999999999 Mon
EndOfDay() // 2013-11-18 23:59:59.999999999 Mon
EndOfWeek() // 2013-11-23 23:59:59.999999999 Sat
.
FirstDayMonday = true // Set Monday as first day
EndOfWeek() // 2013-11-24 23:59:59.999999999 Sun
EndOfMonth() // 2013-11-30 23:59:59.999999999 Sat
EndOfQuarter() // 2013-12-31 23:59:59.999999999 Tue
EndOfYear() // 2013-12-31 23:59:59.999999999 Tue
.
// Use another time
t := time.Date(2013, 02, 18, 17, 51, 49, 123456789, time.UTC)
New(t).EndOfMonth() // 2013-02-28 23:59:59.999999999 Thu
.
Monday() // 2013-11-18 00:00:00 Mon
Sunday() // 2013-11-24 00:00:00 Sun
EndOfSunday() // 2013-11-24 23:59:59.999999999 Sun
.
This package contains the source.
Description-md5: 78df2e76dfc837d16cb6136096ad1071
Homepage: https://github.com/jinzhu/now
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu