Skip to content

Commit 41525b9

Browse files
author
Mohamd J Alanbaki
committed
go bootcamp
1 parent 73ef7fd commit 41525b9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.idea/workspace.xml

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

factorial.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ func main() {
3838
c <- f
3939
}(i, ch)
4040

41-
fmt.Errorf("Factorial of %d is %d\n", i, <-ch)
41+
fmt.Printf("Factorial of %d is %d\n", i, <-ch)
4242
}
4343
}

0 commit comments

Comments
 (0)