1. Basic Definitions
🧱 Interface
type employee interface {
getName() string
getSalary() int
}🧱 Structs
type contractor struct {
name string
hourlyPay int
hoursPerYear int
}type fullTime struct {
name string
salary int
}⚙️ Methods
Example
Meaning
⚙️ Functions (general)
🧠 Summary Table
Concept
Keyword / Example
Purpose
🧩 In Plain English
Go thing
Python equivalent
Example