Skip to content

Instantly share code, notes, and snippets.

View jeffotoni's full-sized avatar

Jefferson Otoni Lima jeffotoni

View GitHub Profile
Object subclass: Pessoa [
| nome idade |
Pessoa class >> new [
^super new initialize
]
Pessoa >> initialize [
nome := ''.
idade := 0.
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func uploadFile(w http.ResponseWriter, r *http.Request) {
fmt.Println("File Upload Endpoint Hit")
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
package main
import (
"encoding/csv"
"fmt"
"os"
)
type empData struct {
Name string
- 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
<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);
Mafê
Jefferson Otoni (via zoom) e Raphael Rossi (presencial)
zoom
https://us02web.zoom.us/j/89048168371
package main
import (
"fmt"
)
func main() {
var i interface{}
i = "Go Engineering 2.0"
i = 2021
package main
import (
"fmt"
)
func main() {
var i interface{}
i = "Go Engineering 2.0"
i = 2021
package main
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3"
"log"
"time"
)