push all exercices
This commit is contained in:
15
ch1/Makefile
Normal file
15
ch1/Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
.DEFAULT_GOAL := build
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
vet: fmt
|
||||
go vet ./...
|
||||
|
||||
build: vet
|
||||
go build
|
||||
|
||||
clean:
|
||||
go clean
|
||||
|
||||
.PHONY:fmt vet build
|
||||
3
ch1/go.mod
Normal file
3
ch1/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module hello_world
|
||||
|
||||
go 1.25.0
|
||||
9
ch1/hello.go
Normal file
9
ch1/hello.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
|
||||
fmt.Printf("Hello ttt sad , %s!\n", "world")
|
||||
|
||||
}
|
||||
BIN
ch1/hello_world.exe
Normal file
BIN
ch1/hello_world.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user