UsefulLinks
Computer Science
Programming
By Language
Go Programming
1. Introduction to Go Programming
2. Go Language Basics
3. Control Flow
4. Composite Data Types
5. Methods and Interfaces
6. Error Handling
7. Concurrency
8. Standard Library
9. Testing and Benchmarking
10. Go Toolchain
11. Advanced Topics
12. Application Development
13. Best Practices and Patterns
3.
Control Flow
3.1.
Conditional Statements
3.1.1.
if Statements
3.1.1.1.
Basic if Syntax
3.1.1.2.
if-else Chains
3.1.1.3.
Initialization in if Statements
3.1.2.
switch Statements
3.1.2.1.
Expression Switches
3.1.2.2.
Multiple Case Values
3.1.2.3.
Fallthrough Behavior
3.1.2.4.
Type Switches
3.1.2.5.
Switch without Expression
3.2.
Loops
3.2.1.
for Loop Variations
3.2.1.1.
C-style for Loop
3.2.1.2.
Condition-only for Loop
3.2.1.3.
Infinite for Loop
3.2.2.
Range-based Iteration
3.2.2.1.
Range over Slices
3.2.2.2.
Range over Arrays
3.2.2.3.
Range over Maps
3.2.2.4.
Range over Strings
3.2.2.5.
Range over Channels
3.2.3.
Loop Control
3.2.3.1.
break Statement
3.2.3.2.
continue Statement
3.2.3.3.
Labeled Statements
3.2.3.4.
Nested Loop Control
Previous
2. Go Language Basics
Go to top
Next
4. Composite Data Types