func main() {
now := time.Now()
fmt.Println(now)
// Output: 2025-07-21 13:49:01.421328801 +0300 MSK m=+0.000019420
year := now.Year()
fmt.Println(year)
// Output: 2025
time.Sleep(10 * time.Second)
fmt.Println(now)
// Output: 2025-07-21 13:49:01.421328801 +0300 MSK m=+0.000019420
}// A Time represents an instant in time with nanosecond precision.
//
// Programs using times should typically store and pass them as values,
// not pointers. That is, time variables and struct fields should be of
// type [time.Time], not *time.Time. .item:nth-child(8) {
grid-row: span 2; /* Блок 8 занимает две строки */
}
.item:nth-child(9) {
grid-row: span 2; /* Блок 9 занимает две строки */
}.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
padding: 20px;
} .container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
padding: 20px;
}