cmd

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Command getbyidtenant runs the F-310 tenant-scope analyzer as a single-checker binary. Example invocation:

go run ./tools/lint/getbyid/cmd ./internal/infra/postgres/...

It exits non-zero when any flagged GetByID / UpdateByID / DeleteByID lacks a tenantID parameter, making it usable in CI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL