diff options
Diffstat (limited to 'doc/progs/print_string.go')
-rw-r--r-- | doc/progs/print_string.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/progs/print_string.go b/doc/progs/print_string.go index 8150be894..13a8d8241 100644 --- a/doc/progs/print_string.go +++ b/doc/progs/print_string.go @@ -13,6 +13,6 @@ func (t *testType) String() string { } func main() { - t := &testType(77, "Sunset Strip"); + t := &testType{77, "Sunset Strip"}; fmt.Println(t) } |