Documentation ¶
Overview ¶
Package greetingspackage is a demonstration package to show how to declare a package, create exported/unexported functions in the package, and create an exported variable from the package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MagicNumber int
Functions ¶
func GopherGreetings ¶
func GopherGreetings()
This is an exported function and can be called outside the package
func PrintGreetings ¶
func PrintGreetings()
We indicate to Go that we want to export a function by upper casing the function's first letter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.