Documentation ¶
Overview ¶
Package mas is Example of Maps Arrays and Slices
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareNumbers ¶
CompareNumbers compares two integers
func InitCli ¶
func InitCli()
InitCli for command: the-gpl mas -fn=array
eg: the-gpl mas -fn=array # Tests the array example the-gpl mas -fn=comp -n1=123 -n2=345 # compares n1 and n2 and computes n1 - n2
func IterateOverArray ¶
func IterateOverArray()
IterateOverArray uses range to iterate over an example array
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
CLI wrapper for *flag.FlagSet
func (CLI) DisplayHelp ¶
func (m CLI) DisplayHelp()
DisplayHelp prints help on command line for bits module
Click to show internal directories.
Click to hide internal directories.