Last active
November 24, 2021 11:15
-
-
Save jeffotoni/207240aa064c5c90e0516c8882891e87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Overview Go um bate papo descontraído e mão na massa | |
- 25 palavras-chave | |
- Instalando Go - Linux | |
- Rodando nosso primeiro hello world | |
- Compilando e entendo um pouco sobre - go build, go run , go test | |
- Editores, IDE que podemos utilizar | |
vim | |
nvim | |
Goland | |
Vscode | |
Sublime | |
- Iniciando em Go | |
Packages | |
Imports | |
Exported names | |
Hello World | |
Values | |
Variables | |
Variables with initializers | |
Short variable declarations | |
Basic types | |
Zero values | |
Constants | |
For | |
If/Else | |
Switch | |
Arrays | |
Slices | |
Maps | |
Range | |
Functions | |
Multiple Return Values | |
Variadic Functions | |
Closures | |
Recursion | |
Pointers | |
Structs | |
Methods | |
Interfaces | |
Make | |
New | |
Tests | |
Errors | |
Goroutines | |
Channels | |
Channel Buffering | |
Channel Synchronization | |
Channel Directions | |
Select | |
Timeouts | |
Non-Blocking Channel Operations | |
Closing Channels | |
Range over Channels | |
Timers | |
Tickers | |
Worker Pools | |
WaitGroups | |
Atomic Counters | |
Mutexes | |
Stateful Goroutines | |
Panic | |
Defer | |
Recover | |
Collection Functions | |
String Functions | |
String Formatting | |
Regular Expressions | |
JSON | |
Time | |
Epoch | |
Time Formatting / Parsing | |
Random Numbers | |
Number Parsing | |
URL Parsing | |
SHA1 Hashes | |
Base64 Encoding | |
Reading Files | |
Writing Files | |
Line Filters | |
File Paths | |
Directories | |
Testing | |
Command-Line Arguments | |
Command-Line Flags | |
Command-Line Subcommands | |
Environment Variables | |
HTTP Clients | |
HTTP Servers | |
Context | |
Exit | |
go mod - e suas propriedades - init/download/vendor/tidy - go get, go install | |
Aprendendo a lib net/http | |
Handler, Handle, HandlerFunc , HandleFunc | |
http.ResponseWriter e http.Request | |
w.Header().Set | |
r.URL.Query() | |
w.WriteHeader | |
Json Decode | |
Json Encode | |
chamando nossa API com cURL | |
Criando Tests para nossa API | |
Criando nossa cobertura de Test | |
Criando POST zerohero | |
Criando GET zerohero | |
Criando PUT zerohero | |
Criando DELETE zerohero | |
BANCO DE DADOS RELACIONAL (PostgreSQL) | |
sql.Open | |
QueryRow e Query | |
row.Scan | |
Exec | |
FILA | |
POST -> Goroutine -> save fila (RabbtiMQ) | |
GET -> cache (REDIS) | |
Docker | |
Docker-Compose | |
Deploy , Docker, Docker-compose, k8s 😍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment