go-code-examples/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: MIT

README

Go code examples

To test a code example, open a terminal and $ cd into the desired directory, then just run the Go file. For example, to run the channels.go file:

  • $ cd concurrency/channels to navigate into the channels directory
  • $ go run channels.go to run the Go file

Directories

Path Synopsis
concurrency
channels command
goroutines command
mutexes command
flow-control
defer command
for command
if command
switch command
methods-interfaces
interfaces command
methods command
packages-variables-functions
basic-types command
comments command
This is a block comment that describes the package.
This is a block comment that describes the package.
constants command
exported-names command
functions command
imports command
packages command
variables command
structs-slices-maps
arrays command
maps command
pointers command
slices command
structs command

Jump to

Keyboard shortcuts

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