Documentation
¶
Overview ¶
Package main provides a CLI tool for running Go tour examples. It executes example programs by specifying a module and program name, making it easier to run and explore the Go tour code samples.
Directories
¶
Path | Synopsis |
---|---|
basics
|
|
basic-types
command
|
|
constants
command
|
|
exported-names
command
|
|
functions
command
|
|
functions-continued
command
|
|
imports
command
|
|
multiple-results
command
|
|
named-results
command
|
|
numeric-constants
command
|
|
packages
command
|
|
short-variable-declaration
command
|
|
type-conversions
command
|
|
type-inference
command
|
|
variables
command
|
|
variables-with-initializers
command
|
|
zero
command
|
|
flowcontrol
|
|
defer
command
|
|
defer-multi
command
|
|
exercise-loops-and-functions
command
|
|
for
command
|
|
for-continued
command
|
|
for-is-gos-while
command
|
|
forever
command
|
|
if
command
|
|
if-and-else
command
|
|
switch
command
|
|
switch-evaluation-order
command
|
|
moretypes
|
|
append
command
|
|
array
command
|
|
exercise-slices
command
|
|
making-slices
command
|
|
map-literals
command
|
|
map-literals-continued
command
|
|
maps
command
|
|
mutating-maps
command
|
|
nil-slices
command
|
|
pointers
command
|
|
range
command
|
|
range-continued
command
|
|
slice-bounds
command
|
|
slice-len-cap
command
|
|
slice-literals
command
|
|
slices
command
|
|
slices-of-slice
command
|
|
slices-pointers
command
|
|
struct-fields
command
|
|
struct-literals
command
|
|
struct-pointers
command
|
|
structs
command
|
|
Package testutils provides common testing utilities for capturing program output
|
Package testutils provides common testing utilities for capturing program output |
welcome
|
|
hello
command
|
|
sandbox
command
|
Click to show internal directories.
Click to hide internal directories.