Parameters let you pass data into a function. Declare them inside the parentheses with a name and type:
func greet(name string) {
fmt.Println("Hello,", name)
}
When you call greet("Alice"), the string "Alice" becomes the value of name inside the function. Parameters make functions flexible. The same function can work with different inputs each time you call it.