You're right and OP mentioned it at the start too. I guess your editor would show you what is expected there and that should be good enough for most cases.
If it is some sort of a library though, then there should be a better way to do this that to pass some enums as parameters to functions. But yes, it is a shortcoming that Go should probably fix.