ch.2.3

command
v0.0.0-...-d87ffed Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Goes over if, else, switch conditions, loops and defer.

Directories

Path Synopsis
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Creating a basic function
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Creating a basic function
As of Google go 1.1.2, `println()` and `print()` are hidden functions included from the runtime package.
As of Google go 1.1.2, `println()` and `print()` are hidden functions included from the runtime package.
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Shows different ways of importing a package.
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Shows different ways of importing a package.
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Showing how to use `panic()` and `recover()`
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Showing how to use `panic()` and `recover()`
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Shows passing a variable by value and reference
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Shows passing a variable by value and reference
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Shows how to define a function type
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Shows how to define a function type
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Shows how to return multiple values from a function
Example code for Chapter 2.3 from "Build Web Application with Golang" Purpose: Shows how to return multiple values from a function

Jump to

Keyboard shortcuts

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