- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AINeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
Structs and Interfaces
Build your own types with structs, methods, pointers, interfaces, embedding, errors and generics.
Try Go online7 lessons
Methods and Receivers
Attach functions to a type and choose between value and pointer receivers.
View lesson →Struct Embedding and Composition
Reuse fields and methods by embedding one struct in another.
View lesson →Error Handling
Return errors as values, wrap them with context and check them with errors.Is and errors.As.
View lesson →