and I don’t understand how he can use Println and Decorate as a custom function name.
I am getting yellow underlines which says “exported function Println should have comment or be unexported”
exported function Println should have comment or be unexported
means that either you should add a comment above your function to say what it does, like
// Println prints lines to console
func Println(...) {}
Or you should not have the function exported. Any function starting with a capital letter is exported.
This means the function can be used from outside your package.