mirror of
https://github.com/SourceFellows/gobuch.git
synced 2026-07-03 19:37:06 +02:00
Verlinkungen zu Beispielen eingefügt.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Printf("Hello %q", "hello")
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func something(text string, i ...int) int {
|
||||
fmt.Println(i[0])
|
||||
return i[1]
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println(something("hello", 1, 2))
|
||||
}
|
||||
Reference in New Issue
Block a user