blob: a08816691972a97261bb351e0b7e5647aa34c502 [file] [log] [blame]
Copyright 2024 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
Test: TestLintOffline/wrong_module_cmd
Description: Packages beginning with 'cmd' should be in the 'cmd' module.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: std
vulnerable_at: 1.2.3
packages:
- package: net/http
- module: std
vulnerable_at: 1.0.0
packages:
- package: cmd/go
summary: A summary of the problem with net/http
description: description
references:
- fix: https://go.dev/cl/12345
- web: https://groups.google.com/g/golang-announce/c/12345
- report: https://go.dev/issue/12345
review_status: REVIEWED
-- golden --
modules[1] "std": packages[0] "cmd/go": must be in module cmd