overwidecandidates

command
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command overwidecandidates regenerates the over-wide List-response candidate list for gopherstack-dv4s (see services/_OVERWIDE_CANDIDATES.md).

For each services/<dir>, it resolves the pinned aws-sdk-go-v2/service/<mod>@<version> from go.mod (directory name and module name diverge for a handful of services — see dirModuleOverride), reads every api_op_List*.go Output struct from $(go env GOMODCACHE)/github.com/aws/aws-sdk-go-v2/service/<mod>@<version>, and flags slice fields whose element type is a types.* struct matching Summary|Item|Brief|Entry|Ref|Preview|Metadata|Info — plus one level of pointer-to-wrapper-struct indirection (the classic REST-XML FooList{ Items []FooSummary } shape).

This is a candidate list only: it flags AWS's real Output shape as narrower than a raw domain struct by name pattern. It does not read gopherstack's own handler/converter code, so a hit still needs per-op verification against the real Summary struct before being called a leak — see services/_OVERWIDE_CANDIDATES.md for the false-positive classes already paid for.

Usage:

go run ./cmd/overwidecandidates            # ranked summary to stdout
go run ./cmd/overwidecandidates -json out.json   # full per-op detail

Jump to

Keyboard shortcuts

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