# devel/revive - The NetBSD Packages Collection

Linter for Go

    Fast, configurable, extensible, flexible, and beautiful linter for Go.
    Drop-in replacement of golint. Revive provides a framework for
    development of custom rules, and lets you define a strict preset for
    enhancing your development & code review processes.

    Here's how revive is different from golint:
    - Allows to enable or disable rules using a configuration file.
    - Allows to configure the linting rules with a TOML file.
    - 2x faster running the same rules as golint.
    - Provides functionality for disabling a specific rule or the
      entire linter for a file or a range of lines.
      golint allows this only for generated files.
    - Optional type checking. Most rules in golint do not require
      type checking. If you disable them in the config file,
      revive will run over 6x faster than golint.
    - Provides multiple formatters which let us customize the output.
    - Allows to customize the return code for the entire linter or
      based on the failure of only some rules.
    - Everyone can extend it easily with custom rules or formatters.
    - Revive provides more rules compared to golint.

- Source version: `go-revive-1.2.4nb36`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://github.com/mgechev/revive/
- License: mit
- Package history: cvs, hg, git

## Build dependencies

lang/go126 pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

(none)

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | go-revive-1.2.4nb34.tgz
NetBSD 10.0 | aarch64 | go-revive-1.2.4nb30.tgz
NetBSD 10.0 | earmv7hf | go-revive-1.2.4nb34.tgz
NetBSD 10.0 | earmv7hf | go-revive-1.2.4nb30.tgz
NetBSD 10.0 | i386 | go-revive-1.2.4nb34.tgz
NetBSD 10.0 | i386 | go-revive-1.2.4nb30.tgz
NetBSD 10.0 | x86_64 | go-revive-1.2.4nb34.tgz
NetBSD 10.0 | x86_64 | go-revive-1.2.4nb30.tgz
NetBSD 11.0 | aarch64 | go-revive-1.2.4nb34.tgz
NetBSD 11.0 | aarch64 | go-revive-1.2.4nb30.tgz
NetBSD 11.0 | earmv7hf | go-revive-1.2.4nb30.tgz
NetBSD 11.0 | earmv7hf | go-revive-1.2.4nb34.tgz
NetBSD 11.0 | i386 | go-revive-1.2.4nb34.tgz
NetBSD 11.0 | i386 | go-revive-1.2.4nb30.tgz
NetBSD 11.0 | x86_64 | go-revive-1.2.4nb34.tgz
NetBSD 11.0 | x86_64 | go-revive-1.2.4nb30.tgz
NetBSD 9.0 | aarch64 | go-revive-1.2.4nb34.tgz
NetBSD 9.0 | aarch64 | go-revive-1.2.4nb30.tgz
NetBSD 9.0 | earmv7hf | go-revive-1.2.4nb34.tgz
NetBSD 9.0 | earmv7hf | go-revive-1.2.4nb30.tgz
NetBSD 9.0 | i386 | go-revive-1.2.4nb34.tgz
NetBSD 9.0 | x86_64 | go-revive-1.2.4nb34.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.