Golang-Practice
-
Compiled
- Go tool can run file directly, without VM
- Executables are different for OS
-
What
- System apps to web apps - Cloud
- Already in production
-
Object Oriented
- Yes and No
- What you see on the screen is the code
-
Missing
- No try/catch
- lexer does a lot of work
- No semicolon
Steps
- Open folder in terminal
- Run go mod init
- To run the file go run main.go
Types
- Case insensitive; almost
- Variable type should be known in advance
- Everything is a Type
- String
- Bool
- Integer
- unit8
- uint64
- int8
- int64
- uintptr
- Floating
- float32
- float64
- Complex