Minor correction
This commit is contained in:
parent
e79501c550
commit
ba2d8712e7
3 changed files with 0 additions and 3 deletions
|
|
@ -5,7 +5,6 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
|
||||
a6 := []int{-10, 1, 2, 3, 4, 5}
|
||||
a4 := []int{-1, -2, -3, -4}
|
||||
fmt.Println("a6:", a6)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
|
||||
for i := 0; i < 100; i++ {
|
||||
if i%20 == 0 {
|
||||
continue
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ type aStructure struct {
|
|||
}
|
||||
|
||||
func main() {
|
||||
|
||||
mySlice := make([]aStructure, 0)
|
||||
mySlice = append(mySlice, aStructure{"Mihalis", 180, 90})
|
||||
mySlice = append(mySlice, aStructure{"Bill", 134, 45})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue