hello there func

This commit is contained in:
Mert Gör 🇹🇷 2024-01-14 00:12:27 +03:00
parent f148fa9c3e
commit 72293d4155
Signed by: hwpplayer1
GPG key ID: 03E547D043AB6C8F
2 changed files with 13 additions and 0 deletions

11
functions/demo1.go Normal file
View file

@ -0,0 +1,11 @@
package functions
import "fmt"
func Addition() {
}
func SayHello() {
fmt.Println("Hello There !")
}

View file

@ -4,6 +4,7 @@ import (
"fmt" "fmt"
"golesson/arrays" "golesson/arrays"
"golesson/conditionals" "golesson/conditionals"
"golesson/functions"
"golesson/loops" "golesson/loops"
"golesson/slices" "golesson/slices"
"golesson/variables" "golesson/variables"
@ -16,4 +17,5 @@ func main() {
loops.Demo5() loops.Demo5()
arrays.Demo4() arrays.Demo4()
slices.Demo2() slices.Demo2()
functions.SayHello()
} }