Skip to content

Instantly share code, notes, and snippets.

View emeraldls's full-sized avatar

Lawrence is !HIM emeraldls

View GitHub Profile
@rdyv
rdyv / print-memory.go
Created May 22, 2019 20:54
Go print current memory
package main
import (
"runtime"
"fmt"
"time"
)
func main() {
// Print our starting memory usage (should be around 0mb)