mirror of
https://github.com/SourceFellows/gobuch.git
synced 2025-07-20 07:02:53 +02:00
initial import
This commit is contained in:
12
hello-world/go/README.txt
Normal file
12
hello-world/go/README.txt
Normal file
@ -0,0 +1,12 @@
|
||||
Starten des docker Containers
|
||||
-----------------------------
|
||||
|
||||
```
|
||||
docker run -v `pwd`:/tmp -it golang:latest /bin/bash
|
||||
```
|
||||
|
||||
Danach im Container
|
||||
```
|
||||
cd /tmp
|
||||
time go build main.go
|
||||
```
|
7
hello-world/go/main.go
Normal file
7
hello-world/go/main.go
Normal file
@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello, 世界")
|
||||
}
|
Reference in New Issue
Block a user