blob: 9dcb8a15c4e0fbd801bc788a10fb305e991b8f0e [file] [log] [blame]
Copyright 2023 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: cmd/go
summary: A summary
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
-- golden --
std: "cmd/go" should be in module "cmd", not "std"