New version of ipdr-daemon

This commit is contained in:
a.pivkin 2025-07-09 06:26:44 +03:00
parent 5ae2318fb9
commit 2874926fcc
4 changed files with 27 additions and 0 deletions

3
Lec6/go.mod Normal file
View File

@ -0,0 +1,3 @@
module main.go
go 1.24.4

13
Lec6/main.go Normal file
View File

@ -0,0 +1,13 @@
package main
import "fmt"
func main() {
var loop_var int = 10
for loop_var <= 20 {
fmt.Printf("Current is %d\n",loop_var)
loop_var++
}
}

8
Lec8/main.go Normal file
View File

@ -0,0 +1,8 @@
package main
import "fmt"
func main() {
arr := [...]int{10,20,30,40}
fmt.Println("Arr with [...]: ",arr, "Length is: ", len(arr))
}

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module main.go
go 1.24.4