From f2c200bd7b018f109e9c0c158ee3d616de9784d0 Mon Sep 17 00:00:00 2001 From: jaketothepast Date: Fri, 29 Dec 2017 11:44:09 -0500 Subject: [PATCH] Formatting fixes --- content/post/learning-go-pointer-receivers.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/post/learning-go-pointer-receivers.md b/content/post/learning-go-pointer-receivers.md index c25819b..e800c78 100644 --- a/content/post/learning-go-pointer-receivers.md +++ b/content/post/learning-go-pointer-receivers.md @@ -61,7 +61,7 @@ import "fmt" type Person struct { name, sign, disposition string } func (p Person) GetDisposition() string { - return p.disposition; + return p.disposition; } func (p *Person) AlterDisposition (weather string) { @@ -76,10 +76,10 @@ func (p *Person) AlterDisposition (weather string) { } func main() { - var p Person = Person{ "Jake", "Sagittarius", "happy" } - fmt.Println(p.GetDisposition()); - p.AlterDisposition("rainy") - fmt.Println(p.GetDisposition()); + var p Person = Person{ "Jake", "Sagittarius", "happy" } + fmt.Println(p.GetDisposition()); + p.AlterDisposition("rainy") + fmt.Println(p.GetDisposition()); } ```