Useful Links
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
Control Flow
Conditional Statements
if Statements
Basic if Syntax
if-else Chains
Initialization in if Statements
switch Statements
Expression Switches
Multiple Case Values
Fallthrough Behavior
Type Switches
Switch without Expression
Loops
for Loop Variations
C-style for Loop
Condition-only for Loop
Infinite for Loop
Range-based Iteration
Range over Slices
Range over Arrays
Range over Maps
Range over Strings
Range over Channels
Loop Control
break Statement
continue Statement
Labeled Statements
Nested Loop Control
Previous
2. Go Language Basics
Go to top
Next
4. Composite Data Types