This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"time" | |
"github.com/jeffotoni/gocache" | |
) | |
func main() { |
This file contains hidden or 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
Object subclass: Pessoa [ | |
| nome idade | | |
Pessoa class >> new [ | |
^super new initialize | |
] | |
Pessoa >> initialize [ | |
nome := ''. | |
idade := 0. |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) | |
func uploadFile(w http.ResponseWriter, r *http.Request) { | |
fmt.Println("File Upload Endpoint Hit") |
This file contains hidden or 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
Relacional: | |
Postgresql | |
INSTALL POSTGRESQL | |
Vamos iniciar pelo Postgres que é nosso banco relacional que iremos usar | |
Para pegar mais informações da imagem docker do postgres click aqui | |
Subindo com Docker |
This file contains hidden or 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
package main | |
import ( | |
"encoding/csv" | |
"fmt" | |
"os" | |
) | |
type empData struct { | |
Name string |
This file contains hidden or 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 |
This file contains hidden or 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
<html> | |
<head></head> | |
<body> | |
<script type="text/javascript"> | |
var sock = null; | |
var wsuri = "ws://localhost:1234/chat"; | |
window.onload = function() { | |
console.log("onload"); | |
sock = new WebSocket(wsuri); |
This file contains hidden or 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
Mafê | |
Jefferson Otoni (via zoom) e Raphael Rossi (presencial) | |
zoom | |
https://us02web.zoom.us/j/89048168371 | |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
var i interface{} | |
i = "Go Engineering 2.0" | |
i = 2021 |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
var i interface{} | |
i = "Go Engineering 2.0" | |
i = 2021 |
NewerOlder