You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the program examplewithstruct.go the channels are encapsulated in a struct which is passed as a pointer to the two goroutines. endChannel is used to signal to main that a goroutine is exiting and is not part of the struct.
examplewithstruct.cgo contains the MiGo types extracted by migoinfer for examplewithstruct.go.
I bring your attention to lines 11 and 12. In line 11, endChannel appears as the first argument in the function call, while in line 12 it appears as the last parameter.
The text was updated successfully, but these errors were encountered:
In the program examplewithstruct.go the channels are encapsulated in a struct which is passed as a pointer to the two goroutines. endChannel is used to signal to main that a goroutine is exiting and is not part of the struct.
examplewithstruct.cgo contains the MiGo types extracted by migoinfer for examplewithstruct.go.
I bring your attention to lines 11 and 12. In line 11, endChannel appears as the first argument in the function call, while in line 12 it appears as the last parameter.
The text was updated successfully, but these errors were encountered: