[Go] basics and web

This commit is contained in:
2026-03-02 01:47:42 +01:00
parent c88211d161
commit d83f0833ec
11 changed files with 320 additions and 0 deletions

40
slides/go/commands.md Normal file
View File

@@ -0,0 +1,40 @@
## init
```sh
go mod tidy
go mod init hello
```
## Build
```sh
go build .
go tool dist list ## list arch
```
## Types
int32,ing64,
int -> depends on arch
rune -> utf char
string -> array of runes
### Other
```sh
ldd ./hello
ls -lah
strip hello
```
[online compiler](https://godbolt.org)
### Notes
- standard lib is huge
- [beginer go](https://gobyexample.com/)
- [advanced go](https://go.dev/ref/spec)