https://stackoverflow.com/questions/33325395/what-is-the-difference-between-and-in-golang
- "=" is assignment,just like other language.
- <- is a operator only work with channel,it means put or get a message from a channel.
- channel is an important concept in go,especially in concurrent programming.you can try this Channel TourPage to see its using scene.
No comments:
Post a Comment