Initial: Go app with tests + CI workflow
All checks were successful
CI / test (push) Successful in 1m45s

This commit is contained in:
Anton
2026-04-18 05:04:51 +00:00
parent ee6547f90c
commit 500e1605a6
4 changed files with 74 additions and 0 deletions

16
main.go Normal file
View File

@@ -0,0 +1,16 @@
package main
import "fmt"
func Add(a, b int) int {
return a + b
}
func Greet(name string) string {
return fmt.Sprintf("Hello, %s!", name)
}
func main() {
fmt.Println(Greet("CI/CD"))
fmt.Println("2 + 3 =", Add(2, 3))
}