Init commit

This commit is contained in:
Archie Fox
2024-12-02 12:32:31 +03:00
parent 61976c9a29
commit 2e7b8722ca
6 changed files with 119 additions and 0 deletions

13
chapter2/time.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"fmt"
"time"
)
func main() {
var now time.Time = time.Now()
var year int = now.Year()
fmt.Println(year)
fmt.Println(now)
}