initial import

This commit is contained in:
SourceFellows
2020-08-21 06:26:40 +02:00
commit e223458dd4
423 changed files with 9871 additions and 0 deletions

11
hello-channel/main.go Normal file
View File

@ -0,0 +1,11 @@
package main
import "fmt"
func main() {
c := make(chan string)
//Wert in Channel schreiben
c <- "Hello World"
//Wert aus Channel lesen
fmt.Println(<-c)
}