proceed to learn go!

This commit is contained in:
a.pivkin
2025-06-30 06:58:29 +03:00
parent 498d83835a
commit 6f809ab005
24 changed files with 567 additions and 15 deletions
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
package main
import (
"switch/internal/switchpkg"
)
func main() {
switchpkg.Say("Utii")
}
+3
View File
@@ -0,0 +1,3 @@
module switch
go 1.24.4
@@ -0,0 +1,9 @@
package switchpkg
import (
"fmt"
)
func Say(name string) {
fmt.Printf("Hello %s",name)
}