How to Install golang-github-alecthomas-assert-dev in Ubuntu 18.04



Install golang-github-alecthomas-assert-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install golang-github-alecthomas-assert-dev

Description:

Fork of stretchr/testify/assert that uses FailNow()

This is a fork of stretchr's assertion library that does two things: . 1. It makes spotting differences in equality much easier. It uses github.com/alecthomas/repr and github.com/sergi/go-diff/diffmatchpatch to display structural differences in colour. 2. Aborts tests on first assertion failure (the same behaviour as stretchr/testify/require).

Homepage: https://github.com/alecthomas/assert

Version: 0.0~git20170929.405dbfe-1

Section: universe/devel