In this video, we will talk about Boolean data type in Go. What are Boolean values, and how do we use them in programs? Then we will see what operations we can perform on them. Also, we will see how to use comments in Go and why they are helpful.
#go #golang #coding #programming #learning #tutorial #boolean #dataType
Link to my blog post: https://zoranstankovic.com/boolean-da...
Resources:
Order of precedence in Go: https://go.dev/ref/spec#Operator_prec...
Link to GitHub branch repo: https://github.com/zoranstankovic/go-...
Chapters:
0:00 Intro
0:32 What are Boolean values?
0:59 Comments in Go (Golang)
1:45 Boolean Zero Value
2:15 Boolean short declaration
2:54 Comparison Operators
3:55 = vs ==
4:05 Logical Operators
4:59 Logical Operators Examples
6:39 Short-circuit behaviour
7:10 Combine more logical operators
7:45 Operator precedence
9:22 GitHub repo
9:39 Outro
📣 Please leave a LIKE and SUBSCRIBE for more content! 📣
Follow me on:
🌍Website: https://zoranstankovic.com
📱Twitter: / ryunosukezoran
🔗Github: https://github.com/zoranstankovic