Skip to content

Instantly share code, notes, and snippets.

@jotacamou
jotacamou / main.go
Created January 7, 2018 21:37 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"