Skip to content

Instantly share code, notes, and snippets.

View akshaybharambe14's full-sized avatar
🎯
Focusing

Akshay Bharambe akshaybharambe14

🎯
Focusing
View GitHub Profile
@akshaybharambe14
akshaybharambe14 / go-stdlib-interface-selected.md
Created July 14, 2021 09:43 — forked from asukakenji/go-stdlib-interface-selected.md
Go (Golang) Standard Library Interfaces (Selected)

Go (Golang) Standard Library Interfaces (Selected)

This is not an exhaustive list of all interfaces in Go's standard library. I only list those I think are important. Interfaces defined in frequently used packages (like io, fmt) are included. Interfaces that have significant importance are also included.

All of the following information is based on go version go1.8.3 darwin/amd64.

@akshaybharambe14
akshaybharambe14 / GitCommitEmoji.md
Created July 10, 2021 12:56 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@akshaybharambe14
akshaybharambe14 / main.go
Created April 18, 2020 07:51 — forked from creack/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"os/signal"
"strconv"
@akshaybharambe14
akshaybharambe14 / context_cancel.go
Created January 25, 2020 06:42 — forked from fracasula/context_cancel.go
GoLang exiting from multiple go routines with context and wait group
package main
// Here we show how to properly terminate multiple go routines by using a context.
// Thanks to WaitGroup we'll be able to end all go routines gracefully before the main function ends.
import (
"fmt"
"os"
"context"
"sync"
package main
import (
"fmt"
"os"
"os/signal"
"sync"
"time"
)