fix: 25-funcs explanations

This commit is contained in:
Inanc Gumus
2019-06-21 10:17:05 +03:00
parent 4eeb721db0
commit f91086a009
3 changed files with 3 additions and 19 deletions

View File

@ -11,10 +11,9 @@ import "fmt"
func showN() {
if N == 0 {
fmt.Println("showN : N is zero, increment it.")
return
}
fmt.Printf("showN : N = %d\n", N)
fmt.Printf("showN : N is %d\n", N)
}
func incrN() {

View File

@ -16,8 +16,8 @@
// BUT NOT like so:
// go run main.go
//
// Because, the compiler needs to see global.go too
// It can't magically find global.go — what you give is what you get.
// Because, the compiler needs to see bad.go too
// It can't magically find bad.go — what you give is what you get.
//
package main