From 2b08f4b1f401971157d029000fd1deb931eb99e0 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Fri, 10 Apr 2020 17:50:55 -0700 Subject: [PATCH] Regenerate --- examples/structs/structs.hash | 4 ++-- public/structs | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/structs/structs.hash b/examples/structs/structs.hash index ca7cc85..fe4d367 100644 --- a/examples/structs/structs.hash +++ b/examples/structs/structs.hash @@ -1,2 +1,2 @@ -e630f9890f89e157aa88f5d774dbed0c0c04224e -qHz9gNnAtyw +f1dcc357b5e20c3aa3a97df8245efe4aea7940d6 +n7jt1x3iw4Z diff --git a/public/structs b/public/structs index 26dfab3..552be5a 100644 --- a/public/structs +++ b/public/structs @@ -43,7 +43,7 @@ records.

- +
package main
 
@@ -80,12 +80,12 @@ records.

-

NewPerson constructs a new person struct with the given name

+

newPerson constructs a new person struct with the given name.

-
func NewPerson(name string) *person {
+          
func newPerson(name string) *person {
 
@@ -179,7 +179,7 @@ as a local variable will survive the scope of the function.

-
    fmt.Println(NewPerson("Jon"))
+          
    fmt.Println(newPerson("Jon"))
 
@@ -266,7 +266,7 @@ pointers are automatically dereferenced.