Index

[SYMBOL][A][B][C][D][E][F][G][H][I][J][L][M][N][O][P][R][S][T][U][V][W][Z]

SYMBOL

_ (blank identifier)2nd
! (not operator)
’ ’ (runes)
[ ] (square brackets)2nd
{ } (curly braces)2nd3rd
* (dereference operator)
* (pointers)
& (address operator)2nd
&& operator
% (modulus operator)2nd3rd
%b format verb (binary)
%c format verb (character)
%f format verb (floating-point)
%T format verb (type)
%v format verb (value)2nd3rd
%x format verb (hexadecimal)
` ` (raw string literals)
+ (plus sign)2nd
<- channel operator2nd

A

address operator (&)2nd
After function2nd
ambiguous selector
anonymous functions (function literals)2nd
APIs (Application Programming Interfaces)
append function2nd
arguments2nd

arrays
  accessing elements of
  arrays of arrays
  copying
  declaring2nd
  iterating through
  maps vs.
  mutating
  out-of-range elements
  pointing to
  pointing to with slices
  slicing
assignment operator2nd
associative arrays
Atoi function

B

backticks (` `)

big numbers
  big package
  big.Int type
  constants
blank identifier (_)2nd
boilerplate
Boolean values2nd3rd
  converting

branching
  with if statement
  with switch statement
bytes

C

call stack
capacity of slices
  append function and
Cascading Style Sheets.
    See CSS.
case keyword2nd

channels
  <- operator2nd
  general discussion
  select statement
characters
  manipulating with Caesar cipher
  manipulating with ROT13
  overview
ciphering text
closures
cloud computing
code duplication
code points
code smell
coerce types
communicating sequential processes.
    See CSP.
comparison operators

composite literals
  for arrays
  for maps
  for slices
  for structures
composition, composing structures with
concurrency

concurrent state
  long-lived tasks
  mutexes

constants
  const keyword2nd3rd
  large numbers
constructor functions2nd
Contains function
CSP (communicating sequential processes)
CSS (Cascading Style Sheets)
curly braces ({ })2nd3rd

D

dangling pointers
deadlocks2nd
decimal degrees
DecodeRuneInString function
default keyword
defer keyword2nd
delegation
delete function
dereference operator (*)
dictionaries (maps)
dot notation2nd
double precision floating-point numbers
duplicated code
dynamic typing

E

ellipsis (...)2nd
embedding
empty interface{}
equality operator
Error() method

errors
  creating new error values
    and type assertions
    distinguishing between errors
    multiple errors
  file writing errors
    and defer keyword
    graceful error handling
  handling
  panic mechanism
    exceptions in other languages
    recover
errors package2nd
  New constructor
escape sequences
event loops

F

fallthrough keyword
false constant
Fields function
file.Close() method
file.IsDir() function
floating-point numbers2nd
  accuracy of
  converting
  declaring
    float32 type (single precision)
    zero value
  displaying
fmt (format) package2nd3rd4th
  Print function
  Printf function2nd
  Println function2nd3rd
  Sprintf function

for loop
  for keyword
  range keyword2nd3rd4th5th6th
format verbs2nd3rd4th5th6th
forwarding methods

functions
  anonymous
  assigning to variables
  declaring2nd
  declaring function types
  func keyword2nd
  literal
  nil function values
  passing to other functions
  scope2nd
  signature

G



Go Playground
  limitations of
  overview
Go Proverbs
golang2nd
golint tool
gophers

goroutines
  blocked
  channels
    general discussion
    select statement
  deadlocked
  multiple
  pipelines
  starting

H

half-open range
hashes
hexadecimal

I

if statements2nd3rd
image package
immutable strings
import keyword
import path
increment operator (++)
indirection
inheritance
integers2nd
  declaring
    architecture-independent types
    displaying types
  displaying bits
  int type
  Unix time
  wrapping

interfaces
  discovering later
  interface embedding
  interface type
  nil
  pointers and
  satisfying
interior pointers
interpreter
Intn function2nd

io package
  Reader interface
  ReadWriter interface
  Writer interface2nd

ioutil package
  ReadDir
Itoa function

J



JSON (JavaScript Object Notation)
  customizing with struct tags
  encoding structures to

L

leaking resources
len function2nd
literal numbers

literal values
  bytes
  characters
    manipulating with Caesar cipher
    manipulating with ROT13
  code points
  runes
    decoding strings into
    general discussion
  string variables
    declaring
    decoding strings into runes
    immutable nature of
    raw string literals
Lock method (mutexes)
logical operators
loops, repetition with

M

magic numbers
main function2nd3rd4th5th
main package
make function
  channels
  general discussion
  preallocating maps with
  preallocating slices with

maps
  arrays vs.
  as pointers
  declaring
  grouping data with
  keys
  nil
  preallocating
  repurposing as sets
  using to count things
Marshal function
MarshalJSON method

math calculations
  assignment operator
  constants
  increment operator (++)
  performing
  pseudorandom number generation
  variables
    declaring multiple
    overview
math package2nd3rd
  Abs function
  Acos function
  Cos function2nd
  MaxInt16 constant
  MaxUint16 constant
  MaxUint8 constant
  MinInt16 constant
  Pi constant2nd
  Sin function
  Sincos function
  Sqrt function
  Tan function
  Trunc function
memory address
methods
  adding behavior to types with
  attaching to slices
  attaching to structures
  forwarding
  guarding against nil values with
  types as alternative to classes
modulus operator (%)2nd
mutations
  mutating arrays
  pointer receivers
  pointers as parameters
  with interior pointers
mutexes
  mutual exclusion

N

name collisions (embedding)
new lines
nibbles
nil
  guarding against
    overview
    with methods
  nil function values
  nil interfaces
  nil maps
  nil slices
  nil value
not operator (!)
numeric types, converting

O

object composition
overflow error

P

package keyword

packages
  declaring
  documentation
panic mechanism
  exceptions in other languages
  passing arguments to
  recover function

parameters
  overview
  pointers as
pipelines
plus operator (+)
pointers (*)2nd
  address operator (&)
  declaring
  dereference operator (*)
  enabling mutation
    interior pointers
    mutating arrays
    pointer receivers
    pointers as parameters
  interfaces and
  maps as
  overusing
  pointer arithmetic
  pointer receivers
  pointing to arrays
  pointing to structures
  slices point at arrays
polymorphism
precision
Print function
Printf function2nd
Println function2nd3rd
pseudorandom numbers

R

race condition
RAM (random access memory)2nd
rand package2nd3rd
  Intn function2nd
  random numbers
  Seed function
range keyword2nd3rd4th5th6th7th8th
raw string literals
ReadDir function
ReadWriter interface
receiver (methods)
recover function (panic)
refactoring2nd
REMS (Rover Environmental Monitoring Station)2nd3rd
Repeat function
return keyword
ROT13 cipher
rounding errors
Rover Environmental Monitoring Station.
    See REMS.

runes
  decoding strings into
  general discussion

S

Seed method
select statement2nd
  channels and
semicolons (;)
sentinel value

sets
  repurposing maps as
  set membership
shared values
short declaration
side effect free functions
signed integer types
single precision floating-point numbers
single quotes (’ ’)
Sleep function2nd

slices
  appending elements to2nd3rd
  attaching methods
  capacity of
  composite literals for
  declaring variadic functions
  grouping data with
  length of
  nil
  pointing to arrays
  preallocating
  slicing arrays
  three-index slicing
  with structures
snake_case
sort package
  Float64s function
  Slice function
  Sort method
  Strings function
  StringSlice type
Sprintf function
square brackets ([ ])2nd
static typing
strconv (string conversion) package
  Atoi function2nd
  Itoa function
String method

string variables
  converting
  declaring
  decoding strings into runes
  immutable nature of
  raw string literals
Stringer interface
strings package
  Contains function2nd3rd
  Fields function2nd
  Join function2nd
  Repeat function
  Replace function
  ToUpper function2nd3rd4th
  TrimSpace function

structures
  as alternative to classes
  attaching methods to
  composing with composition
  copying
  customizing JSON with struct tags
  declaring
  encoding to JSON
  initializing with composite literals
  pointing to
  reusing with types
  struct embedding
  struct tags
  with slices
switch statement2nd
sync package, Mutex type
syntax errors

T

three-index slicing
threequals operator
time package
  After function2nd
  Date function
  Duration function
  Hour constant
  Millisecond constant2nd
  Now function
  Second constant2nd3rd4th5th6th
  Sleep function2nd3rd4th5th6th7th8th
  Unix function2nd
  UTC constant
time sharing
Time type
ToUpper function
true constant
type assertions
type behavior, adding with methods

type conversion
  Boolean values
  caution regarding
  mismatched types
  numeric types
  strings2nd

type declaration
  declaring new types
  using types
type keyword

U

uint type
uint16 type
uint64 type
  and constants
uint8 type2nd
Unix function (time)2nd
Unlock method (mutexes)
unsigned integer types
untyped constants2nd
url package
  Error type
  Parse method

V

validating parameters
var keyword

variable scope
  narrow vs. wide scope
  overview
  short declaration
variables
  assigning functions to
  declaring multiple
  floating-point
    displaying
    single precision
    zero value
  integer
    architecture-independent types
    displaying types
  string
    declaring
    decoding strings into runes
    immutable nature of
    raw string literals
variadic functions, declaring

W

worker functions
wrapping (integers)
Writer interface

Z

zero value2nd

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset