Files
learngo/03-packages-and-scopes/03-importing/01-file-scope/bye.go
2018-11-18 00:03:43 +03:00

19 lines
462 B
Go

// 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
// Uncomment below code to see the error
// (Just remove the // characters for all 3 lines below)
// This file cannot see main.go's imported names ("fmt").
// Because the imported names belong to file scope.
// func bye() {
// fmt.Println("Bye!")
// }