From eedb0c279d382236369ec47d06260aebfb10a0b8 Mon Sep 17 00:00:00 2001 From: s7v7nislands Date: Tue, 25 Oct 2016 12:08:59 +0800 Subject: [PATCH] fix fmt --- rules/unsafe_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/unsafe_test.go b/rules/unsafe_test.go index 2b4f5c3..64f6d44 100644 --- a/rules/unsafe_test.go +++ b/rules/unsafe_test.go @@ -33,13 +33,13 @@ func TestUnsafe(t *testing.T) { "unsafe" ) - type Fake struct{} + type Fake struct{} - func (Fake) Good() {} + func (Fake) Good() {} func main() { - unsafeM := Fake{} - unsafeM.Good() + unsafeM := Fake{} + unsafeM.Good() intArray := [...]int{1, 2} fmt.Printf("\nintArray: %v\n", intArray) intPtr := &intArray[0]