init
This commit is contained in:
commit
f6aa8ed12a
3
ch1/go.mod
Normal file
3
ch1/go.mod
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module hello_world
|
||||||
|
|
||||||
|
go 1.25.1
|
||||||
7
ch1/hello.go
Normal file
7
ch1/hello.go
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
package main // объявление пакета main
|
||||||
|
|
||||||
|
import "fmt" // импортирование пакета fmt для форматированного ввода-вывода
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println("Hello, world!")
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user