push all exercices
This commit is contained in:
BIN
ch2/1/ch2.exe
Normal file
BIN
ch2/1/ch2.exe
Normal file
Binary file not shown.
10
ch2/1/const_declarations.go
Normal file
10
ch2/1/const_declarations.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
var i int64 = 20
|
||||
var f float64 = float64(i)
|
||||
fmt.Println(i)
|
||||
fmt.Println(f)
|
||||
}
|
||||
3
ch2/1/go.mod
Normal file
3
ch2/1/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module ch2
|
||||
|
||||
go 1.25.0
|
||||
Reference in New Issue
Block a user