Methods continued
Methods aren’t limited to structs. You can define them on any type — as long as it’s defined in the same package.
Here, MyFloat is a numeric type with its own Abs method. No struct needed.
One rule: you can’t define a method on a type from another package. That means no adding methods to int, string, or any other built-in type directly.
Try it: change MyFloat to a negative value and watch Abs handle it.