massive: move a lot of things

This commit is contained in:
Inanc Gumus
2019-04-26 21:32:20 +03:00
parent da30b109f8
commit 0547b1e320
105 changed files with 2624 additions and 192 deletions

View File

@ -0,0 +1,26 @@
// For more tutorials: https://blog.learngoprogramming.com
//
// Copyright © 2018 Inanc Gumus
// Learn Go Programming Course
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
//
package main
import "fmt"
func showN() {
if N == 0 {
fmt.Println("showN : N is zero, increment it.")
return
}
fmt.Printf("showN : N = %d\n", N)
}
func incrN() {
N++
}
// you cannot declare a function within the same package with the same name
// func incrN() {
// }