From 9a38372a4e44de27906cbbc990e11ccd79989170 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Tue, 12 Jan 2016 14:19:09 +0100 Subject: [PATCH] test/structs: cosmetics --- _examples/structs/structs.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_examples/structs/structs.go b/_examples/structs/structs.go index 7683f2f..55080e5 100644 --- a/_examples/structs/structs.go +++ b/_examples/structs/structs.go @@ -11,13 +11,14 @@ import ( type S struct{} func (S) Init() {} + func (S) Upper(s string) string { return strings.ToUpper(s) } -func FuncTest(item S) {} +func FuncTest(S) {} -func (this S) MethodTest(item S1) {} +func (S) MethodTest(item S1) {} type S1 struct { private int