How to Install and Uninstall ineffassign Package on openSUSE Leap

Last updated: November 08,2024

1. Install "ineffassign" package

Please follow the guidance below to install ineffassign on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ineffassign

2. Uninstall "ineffassign" package

This guide covers the steps necessary to uninstall ineffassign on openSUSE Leap:

$ sudo zypper remove ineffassign

3. Information about the ineffassign package on openSUSE Leap

Information for package ineffassign:
------------------------------------
Repository : Main Repository
Name : ineffassign
Version : 0.0.0+git20210225.2e10b26-bp155.2.35
Arch : x86_64
Vendor : openSUSE
Installed Size : 5.7 MiB
Installed : No
Status : not installed
Source package : ineffassign-0.0.0+git20210225.2e10b26-bp155.2.35.src
Upstream URL : https://github.com/gordonklaus/ineffassign
Summary : Tool to detect ineffectual assignments in Go code
Description :
This tool misses some cases because does not consider any type information in
its analysis. (For example, assignments to struct fields are never marked as
ineffectual.) It should, however, never give any false positives.

5. The same packages on other Linux Distributions