diff --git a/ch03/reslice.go b/ch03/reslice.go index e19382b..2f813c0 100644 --- a/ch03/reslice.go +++ b/ch03/reslice.go @@ -3,7 +3,6 @@ package main import "fmt" func main() { - s1 := make([]int, 5) reSlice := s1[1:3] fmt.Println(s1) @@ -13,5 +12,4 @@ func main() { reSlice[1] = 123456 fmt.Println(s1) fmt.Println(reSlice) - } diff --git a/ch03/timeDate.go b/ch03/timeDate.go index 7325bcc..04e79fe 100644 --- a/ch03/timeDate.go +++ b/ch03/timeDate.go @@ -7,7 +7,6 @@ import ( ) func main() { - logs := []string{"127.0.0.1 - - [16/Nov/2017:10:49:46 +0200] 325504", "127.0.0.1 - - [16/Nov/2017:10:16:41 +0200] \"GET /CVEN HTTP/1.1\" 200 12531 \"-\" \"Mozilla/5.0 AppleWebKit/537.36", "127.0.0.1 200 9412 - - [12/Nov/2017:06:26:05 +0200] \"GET \"http://www.mtsoukalos.eu/taxonomy/term/47\" 1507",