Some simple lessons to give you some basic impressions of golang, let’s get started
If it really helps you, Buy me a coffee for my HARD work, that will motivate me to create more. :D
Buy Me a Coffee
Generated by AI, there may be errors, for reference only
1. Basics
- Values: Understanding fundamental data entities like numbers, strings, and booleans.
- Constants: Learnsing about immutable values and their declaration using ‘const’.
- Variables: Exploring how to store and manage data that changes during program execution.
Go Basic: Understanding Data Types, Values, Constants, Variables and Scopes in Go
2. Data Types and Structures
Strings, Arrays, Slices, Maps, Structs, Pointers: Learning about different data types and structures, their usage, and manipulation.
Go Basic: Understanding Strings, Arrays, Slices, Maps, Structs and Pointers in GoFor, If Else, Switch: Understanding control flow constructs in Go.
Functions, Range, Closures, Recursion: Learning about functions and their applications, including closures and recursion
Go Basic: Understanding For, If Else, Switch, Functions, Range, Closures, Recursion in Go
4. Object-Oriented Programming
- Methods, Interfaces, Struct Embedding, Generics: Covering OOP concepts in Go.
Go Basic: Understanding Methods, Interfaces, Struct Embedding, Generics: Covering OOP concepts in Go
5. Error Handling
- Errors, Panic, Defer, Recover: Techniques for handling errors and exceptions.
Go Basic: Understanding Error Handling: Errors, Panic, Defer, Recover in Go
6. Concurrency
Goroutines, Channels, Select, Timeouts: Exploring concurrency, including goroutines and channels.
Go Basic: Understanding Goroutines, Channels, Select, Timeouts in GoTimers, Tickers, Worker Pools, Waitgroups, Rate Limiting: Advanced concurrency concepts.
Go basic: Understanding Timers, Tickers, Worker Pools, Waitgroups, Rate Limiting in GoAtomic, Mutexes, Stateful Goroutines: Learning about synchronization and state management in concurrent programming.
Go Basic: Understanding Atomic, Mutex, Stateful Goroutines in Go
7. File Operations
Reading Files, Writing Files, Line Filters: Working with file operations.
Go Basic: Understanding Reading Files, Writing Files, Line Filters in GoFile Paths, Directories, Temporary Files and Directories, Embed Directive: Advanced file handling techniques.
Go Basic: Understanding File Paths, Directories, Temporary Files and Directories, Embed Directive in Go
8. Advanced Topics
Sorting, Text Templates, Regular Expressions, JSON, XML: Delving into advanced topics like sorting algorithms, templating, and data formats.
Go Basic: Understanding Sorting, Text Templates, Regular Expressions, JSON, XML in GoTime, Epoch, Time Formatting Parsing, Random Numbers, Number Parsing, URL Parsing, sha256 Hashes, base64 Encoding: Advanced manipulation and formatting of data.
Go Basic: Understanding Time, Epoch, Time Formatting Parsing, Random Numbers, Number Parsing, URL Parsing, sha256 Hashes, base64 Encoding in Go
9. Testing and Profiling
- Testing and Benchmarking: Ensuring code quality and performance.
Go Basic: Understanding Testing and Benchmarking in Go
10. Command Line and Environment
- Command Line, Environment Variables: Building command-line applications and handling system configurations.
Go Basic: Understanding Command Line, Environment Variables in Go
11. Networking
- HTTP Client, HTTP Server, Context, Processes, Signals, Exit: Covering networking concepts, HTTP communication, and process management.
Go Basic: Understanding HTTP Client, HTTP Server, Context, Processes, Signals, Exit in Go
If it really helps you, Buy me a coffee for my HARD work, that will motivate me to create more. :D
Buy Me a Coffee
中文文章: https://programmerscareer.com/zh-cn/golang-basic-skill/
Author: Wesley Wei – Twitter Wesley Wei – Medium
Note: If you choose to repost or use this article, please cite the original source.
Comments