...

Text file src/go/doc/testdata/examples/shadow_predeclared.golden

Documentation: go/doc/testdata/examples

     1-- .Play --
     2package main
     3
     4import (
     5	"fmt"
     6
     7	"example.com/error"
     8)
     9
    10func Print(s string) {
    11	fmt.Println(s)
    12}
    13
    14func main() {
    15	Print(error.Hello)
    16}

View as plain text