Skip to content

Instantly share code, notes, and snippets.

{
"host" : "host",
"version" : "3.2.22",
"process" : "mongod",
"uptime" : 105004,
"uptimeMillis" : NumberLong(105003296),
"uptimeEstimate" : 96126,
"localTime" : ISODate("2019-05-15T21:29:20.221Z"),
"asserts" : {
"regular" : 0,
package main
import (
"fmt"
"strconv"
"time"
mgo "gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)