Structs, Hands-on exercise

Ok, I will remember to include the error messages.

I’m sure the day will come when I understand the error messages, but at this point I don’t. (Some I do, and am able to correct the errors.)
For now, I don’t understand this message:
prog.go:24:4: assignment mismatch: 1 variables but 2 values
or how to correct it.

Remove the , that makes go think you were trying to assign two values at once.

1 Like

Thanks for that help

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.