Skip to content

Commit 96a55d2

Browse files
committed
typos
1 parent 5641fcc commit 96a55d2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Go-Programmierung für Java-Entwickler
66

77
* Fabian Stäber, ConSol Software GmbH
88
* Java Developer, Gopher
9-
* Some Go projects on GitHub, like github.com/fstab/grok_exporter
9+
* Some Go projects on GitHub, like [github.com/fstab/grok_exporter](https://github.com/fstab/grok_exporter)
1010

1111
2 Resources
1212
-----------
1313

14-
* https://tour.golang.org
15-
* Alan A. A. Donovan, Brian W. Kernighan: _The Go Programming Language_, Addison-Wesley, 2015
16-
* Google for 'golang'
14+
* **Online tutorial:** https://tour.golang.org
15+
* **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'
1717

1818
3 About Go
1919
----------
@@ -70,9 +70,9 @@ go help fmt
7070
The `go` command is more like `mvn` than like `javac`.
7171

7272
```
73-
go get ...
74-
go test ...
75-
go install ...
73+
go get ... <-- download from github, bitbucket, etc.
74+
go test ... <-- like 'mvn test'
75+
go install ... <-- install binary to $GOPATH/bin
7676
```
7777

7878
8 Go Directory Structure
@@ -315,7 +315,7 @@ Go's `nil` is like Java's `null`.
315315
19 Ignoring Return Values
316316
-------------------------
317317

318-
In go it's a _syntax error_ if a varible is decleared but not used:
318+
In go it's a _syntax error_ if a variable is declared but not used:
319319

320320
```go
321321
func main() {
@@ -324,7 +324,7 @@ func main() {
324324
}
325325
```
326326

327-
Syntax error, because variable `product` is defined but not used.
327+
Syntax error, because variable `product` is declared but not used.
328328

329329
To explicitly ignore a return value, use `_`:
330330

@@ -600,7 +600,7 @@ Shape 2: rectangle with width 4, height 4, and area 16
600600
32 Functional Programming
601601
-------------------------
602602

603-
Define an anonymous function and assign it to a variable
603+
Example 1: Define an anonymous function and assign it to a variable
604604

605605
```go
606606
package main
@@ -615,7 +615,7 @@ func main() {
615615
}
616616
```
617617

618-
Pass a function as parameter to another function
618+
Example 2: Pass a function as parameter to another function
619619

620620
```go
621621
package main
@@ -852,7 +852,7 @@ Re-write the channel examples with two go-routines:
852852
* One producer routine producing numbers
853853
* One consumer routine printing numbers to stdout
854854

855-
Terminology: A function called with `go ...` is called a go-routine.
855+
Terminology: A function running as a background thread is a go-routine.
856856

857857
41 Waiting for termination
858858
--------------------------

0 commit comments

Comments
 (0)