update Go types and type assertions (#6260)

* update Go types and type assertions

* Update src/data/roadmaps/golang/content/101-go-advanced/102-types-and-type-assertions.md

---------

Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
pull/6270/head
Beryl Atieno 4 months ago committed by GitHub
parent 82ba5898a7
commit 24533cc887
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      src/data/roadmaps/golang/content/101-go-advanced/102-types-and-type-assertions.md

@ -1,7 +1,10 @@
# Types and type assertions # Types and type assertions
Types in Golang specify the data type that a valid Go variable can hold. Golang has four categories of Types including Basic, Aggregate, Reference, and Interface Types
Type assertions in Golang provide access to the exact type of variable of an interface. Type assertions in Golang provide access to the exact type of variable of an interface.
Visit the following resources to learn more: Visit the following resources to learn more:
- [@official@Types Assertions ](https://go.dev/tour/methods/15) - [@official@Types Assertions ](https://go.dev/tour/methods/15)
- [@video@Go Syntax - Type Assertions ](https://youtube.com/watch?v=vtGbi9bGr3s)

Loading…
Cancel
Save