greetingspackage

package
Version: v0.0.0-...-d41341d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL