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
parent
82ba5898a7
commit
24533cc887
1 changed files with 3 additions and 0 deletions
@ -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…
Reference in new issue