Files
ci-test/main.go
Anton 500e1605a6
All checks were successful
CI / test (push) Successful in 1m45s
Initial: Go app with tests + CI workflow
2026-04-18 05:04:58 +00:00

17 lines
238 B
Go

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))
}