diff options
| author | Levi Bostian <levi.bostian@gmail.com> | 2015-04-21 11:01:32 -0500 | 
|---|---|---|
| committer | Levi Bostian <levi.bostian@gmail.com> | 2015-04-21 11:01:32 -0500 | 
| commit | a5d38aedd5a6fe4632591c302270fde1c6613827 (patch) | |
| tree | b0507a0e21cb392c62a070c6bfb3a643f275dd46 /go.html.markdown | |
| parent | 4d1bc86b4e0ca6e64ccf480681b53afb06dbce6d (diff) | |
| parent | f63032d2f216d62d149a8dc2f1df919999c41938 (diff) | |
Merge pull request #1044 from thisiskevinchoi/patch-1
Add default case to switch statement in Go
Diffstat (limited to 'go.html.markdown')
| -rw-r--r-- | go.html.markdown | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/go.html.markdown b/go.html.markdown index 17f10bd9..9b9758b4 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -179,6 +179,8 @@ func learnFlowControl() {  		// Cases don't "fall through".  	case 43:  		// Unreached. +	default: +		// Default case is optional.  	}  	// Like if, for doesn't use parens either.  	// Variables declared in for and if are local to their scope. | 
