Skip to content

Commit

Permalink
update Go types and type assertions (kamranahmedse#6260)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
BerylCAtieno and dansholds authored Jul 29, 2024
1 parent 82ba589 commit 24533cc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# 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.

Visit the following resources to learn more:

- [@official@Types Assertions ](https://go.dev/tour/methods/15)
- [@video@Go Syntax - Type Assertions ](https://youtube.com/watch?v=vtGbi9bGr3s)

0 comments on commit 24533cc

Please sign in to comment.