* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
589 B
589 B
Interfaces
Define contracts specifying method signatures without implementation. Types satisfy interfaces implicitly by implementing required methods. Enable polymorphism and loose coupling. Empty interface interface{} accepts any type. Foundation of Go's type system and composition patterns.
Visit the following resources to learn more: