File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
- Go-Programmierung für Java-Entwickler
2
- =====================================
1
+ Go Programming for Java Developers
2
+ ==================================
3
+
4
+ Notes for my [ Go] ( https://golang.org ) programming workshop.
3
5
4
6
1 About Me
5
7
----------
@@ -13,7 +15,9 @@ Go-Programmierung für Java-Entwickler
13
15
14
16
* ** Online tutorial:** https://tour.golang.org
15
17
* ** Book:** Alan A. A. Donovan, Brian W. Kernighan: _ The Go Programming Language_ , Addison-Wesley, 2015
16
- * ** Help:** Google keyword for the Go programming language is 'golang'
18
+ * ** Google:** Google keyword for the Go programming language is 'golang'
19
+ * ** This text:** [ https://github.com/fstab/go-programming-for-java-developers ] ( https://github.com/fstab/go-programming-for-java-developers )
20
+ * ** Slides:** [ https://goo.gl/P7XAXn ] ( https://goo.gl/P7XAXn ) (docs.google.com)
17
21
18
22
3 About Go
19
23
----------
@@ -699,16 +703,16 @@ Result:
699
703
[2 4 6 8 10 12 14 16 18 20]
700
704
```
701
705
702
- 35 Index Ranges
703
- ---------------
706
+ 35 Slicing
707
+ ----------
704
708
705
709
Example 1:
706
710
707
711
``` go
708
712
slice := createSlice (10 )
709
713
fmt.Printf (" %v \n " , slice)
710
- slice := slice[3 :7 ]
711
- applyFunction (slice , f)
714
+ part := slice[3 :7 ]
715
+ applyFunction (part , f)
712
716
fmt.Printf (" %v \n " , slice)
713
717
```
714
718
You can’t perform that action at this time.
0 commit comments