Debian Codegraph @

src/go/doc/testdata/examples/shadow_predeclared.go

raw
1 // Copyright 2021 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 package foo_test
6
7 import (
8 "fmt"
9
10 "example.com/error"
11 )
12
13 func Print(s string) {
14 fmt.Println(s)
15 }
16
17 func Example() {
18 Print(error.Hello)
19 }