About composite types

Although standard Go types are pretty handy, fast, and flexible, they most likely cannot cover every kind of data that you want to support in your Go code. Go solves this problem by supporting structures, which are custom types defined by the developer. Additionally, Go has its own way of supporting tuples, which mainly allows functions to return multiple values without needing to group them in structures as is the case in C.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.214.155