Directories ¶
Path | Synopsis |
---|---|
Examples of conditional logic and impact on the flow of control.
|
Examples of conditional logic and impact on the flow of control. |
Various examples to declare Go's numeric types.
|
Various examples to declare Go's numeric types. |
Various examples of functions in Go.
|
Various examples of functions in Go. |
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.
|
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. |
An example of aliasing the fmt package as f.
|
An example of aliasing the fmt package as f. |
An example to model a light switch using a boolean type.
|
An example to model a light switch using a boolean type. |
Various examples of Go's for loop.
|
Various examples of Go's for loop. |
An example of using Go's iota enumerator to model the year and city where the summer Olympics took place.
|
An example of using Go's iota enumerator to model the year and city where the summer Olympics took place. |
An example of using a command line flag.
|
An example of using a command line flag. |
An example of using a command line argument.
|
An example of using a command line argument. |
String examples covering declaration, literal definition, accessing character at value and concatenating strings using the + operator.
|
String examples covering declaration, literal definition, accessing character at value and concatenating strings using the + operator. |
An example of declaring a switch statement.
|
An example of declaring a switch statement. |
An example of declaring a constant grouping with an iota enumerator.
|
An example of declaring a constant grouping with an iota enumerator. |
An example of using functionality from a package.
|
An example of using functionality from a package. |
A username syntax checker for the GopherFace web application.
|
A username syntax checker for the GopherFace web application. |
Click to show internal directories.
Click to hide internal directories.