The C version of MessageBoxData has a button pointer and a button length. In Go we have a slice of buttons and an extra button length which is unnecessary because in Go we know a slice's length. I removed the extra integer. This makes the code easier to use. It is not Go-like to provide the length of a slice separately. This is error-prone.
Additionally I changed the comments around, leaving only the relevant information, removing some noise.
The C version of MessageBoxData has a button pointer and a button length. In Go we have a slice of buttons and an extra button length which is unnecessary because in Go we know a slice's length. I removed the extra integer. This makes the code easier to use. It is not Go-like to provide the length of a slice separately. This is error-prone. Additionally I changed the comments around, leaving only the relevant information, removing some noise.