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
5.
Methods and Interfaces
5.1.
Methods
5.1.1.
Method Declaration
5.1.1.1.
Method Syntax
5.1.1.2.
Receiver Types
5.1.1.3.
Method Names
5.1.2.
Method Receivers
5.1.2.1.
Value Receivers
5.1.2.2.
Pointer Receivers
5.1.2.3.
Receiver Choice Guidelines
5.1.3.
Method Sets
5.1.3.1.
Type Method Sets
5.1.3.2.
Pointer Method Sets
5.1.3.3.
Interface Satisfaction
5.1.4.
Method Promotion
5.1.4.1.
Embedded Type Methods
5.1.4.2.
Method Resolution
5.2.
Interfaces
5.2.1.
Interface Fundamentals
5.2.1.1.
Interface Declaration
5.2.1.2.
Method Signatures
5.2.1.3.
Implicit Implementation
5.2.2.
Interface Usage
5.2.2.1.
Interface Variables
5.2.2.2.
Type Assertions
5.2.2.3.
Type Switches
5.2.2.4.
Interface Composition
5.2.3.
Standard Interfaces
5.2.3.1.
error Interface
5.2.3.2.
Stringer Interface
5.2.3.3.
Reader Interface
5.2.3.4.
Writer Interface
5.2.3.5.
Closer Interface
5.2.4.
Empty Interface
5.2.4.1.
interface{} Usage
5.2.4.2.
Type Information Loss
5.2.4.3.
Runtime Type Information
5.2.5.
Interface Internals
5.2.5.1.
Interface Values
5.2.5.2.
Dynamic Type and Value
5.2.5.3.
Nil Interface Values
Previous
4. Composite Data Types
Go to top
Next
6. Error Handling