diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-08-09 15:33:56 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-08-09 15:33:56 -0500 |
commit | 7a5f1e0c9d30749c325d61f1c9771ba4f1a68750 (patch) | |
tree | f3458e7a150e9b38618594e5bd89891f1cf6b5fe /exercises/functions/functions2/main.go | |
parent | b3890a15b255760865f1601779ed280e3737e935 (diff) |
Diffstat (limited to 'exercises/functions/functions2/main.go')
-rw-r--r-- | exercises/functions/functions2/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/exercises/functions/functions2/main.go b/exercises/functions/functions2/main.go index a8ab96e..39915b5 100644 --- a/exercises/functions/functions2/main.go +++ b/exercises/functions/functions2/main.go @@ -1,7 +1,6 @@ // functions2 // Make me compile! -// I AM NOT DONE package main import "fmt" @@ -10,7 +9,7 @@ func main() { callMe(10) } -func callMe(num) { +func callMe(num int) { for n := 0; n <= num; n++ { fmt.Printf("Num is %d\n", n) } |