devel/golint g20190409_47 FreeBSD
Linter for Go source code
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d81b7ba3c3- License
- BSD3CLAUSE
- Categories
- devel
- Package size
- 1487.2 KiB, 4330.0 KiB installed
Description
A linter for Go source code.
Invoke golint with one or more filenames, directories, or packages named by its import path. Golint uses the same import path syntax as the go command and therefore also supports relative import paths like ./.... Additionally the ... wildcard can be used as suffix on relative and absolute file paths to recurse into them.
The output of this tool is a list of suggestions in Vim quickfix format, which is accepted by lots of different editors.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/golint | g20190409_47 |
| NetBSD | devel/golint | 20200301nb68 |
| DragonFly | devel/golint | g20190409_24 |
Install
Binary package:
pkg install golint
From the ports tree:
cd /usr/ports/devel/golint/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= golint>0:devel/golint
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | g20190409_46 | g20190409_46 | - | g20190409_29 | g20190409_46 |
| FreeBSD:14:quarterly | g20190409_46 | g20190409_46 | n/a | g20190409_27 | g20190409_46 |
| FreeBSD:15:latest | g20190409_46 | g20190409_46 | n/a | - | g20190409_29 |
| FreeBSD:15:quarterly | g20190409_46 | g20190409_46 | n/a | n/a | n/a |
| FreeBSD:16:latest | g20190409_45 | g20190409_46 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- go:modules
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| golang-lint-g20190409-959b441_GH0.tar.gz | 32982 | df0c8369150fcf23d5a79851293c232e3f79c931bfcff59460b0298b774c0a12 |
| golang-tools-e65039e_GH0.tar.gz | 2.68179e+06 | 29fd59183877a438012e2ec6d2875f4403b0f4b58aa8a793372edc9df3a3a20c |
Commit history 6
The latest 5 of 6 in the history this site was built from.