Debian Codegraph @

go/analysis/passes/slog/testdata/src/b/b.go

raw symbols SCIP
1 // Copyright 2023 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // This file contains tests for the slog checker.
6
7 //go:build go1.21
8
9 package b
10
11 import "a"
12
13 func Imported() {
14 _ = a.MyLogger.With("a", 1, 2, 3) // want `slog.Logger.With arg "2" should be a string or a slog.Attr`
15 }