gofr-dev / gofr-dev/gofr

golangci-lint: use gomodguard/depguard

Open
#1,872 1 comment 0 reactions 0 assignees View on GitHub
triage
Dominant language
Go
Stars
20.9k
Forks
1.8k
Avg merge
5d 18h
Merged PRs (30d)
39

Description

People shouldn't import uncommon, experimental, or outdated lib.

_Originally posted by @ccoVeille in https://github.com/gofr-dev/gofr/pull/1867#discussion_r2156238245_

If we do so, it should be documented with a //nolint

This would prevent people to bring new dependencies

Contributor guide

Open the contributing guide

Research direction

Start by locating the repository's golangci-lint configuration and review the linked discussion in pull request 1867. Configure gomodguard or depguard to restrict uncommon, experimental, or outdated imports; done means new dependencies are prevented unless an import is explicitly documented with //nolint.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.