| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 15:04:02 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100822175801
location: https://web.archive.org/web/20100822175801/https://github.com/mikejs/gomongo/tree/master
server-timing: captures_list;dur=1.517849, exclusion.robots;dur=0.116851, exclusion.robots.policy;dur=0.094274, esindex;dur=0.021927, cdx.remote;dur=26.732372, LoadShardBlock;dur=306.958790, PetaboxLoader3.datanode;dur=244.676319, PetaboxLoader3.resolve;dur=36.586467
x-app-server: wwwb-app206-dc6
x-ts: 302
x-tr: 414
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app206; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Tue, 23 Dec 2025 15:04:03 GMT
content-type: text/html; charset=utf-8
content-length: 98
x-archive-orig-server: nginx/0.7.67
x-archive-orig-date: Sun, 22 Aug 2010 17:58:01 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20100822175801/https://github.com/mikejs/gomongo
x-archive-orig-x-runtime: 6ms
x-archive-orig-content-length: 98
x-archive-orig-cache-control: no-cache
cache-control: max-age=1800
memento-datetime: Sun, 22 Aug 2010 17:58:01 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_17_20100822153413_crawl103-c/52_17_20100822175736_crawl101.arc.gz
server-timing: captures_list;dur=0.659121, exclusion.robots;dur=0.024342, exclusion.robots.policy;dur=0.011388, esindex;dur=0.013136, cdx.remote;dur=16.857855, LoadShardBlock;dur=156.944750, PetaboxLoader3.datanode;dur=92.592769, PetaboxLoader3.resolve;dur=128.142888, load_resource;dur=126.087779
x-app-server: wwwb-app206-dc6
x-ts: 301
x-tr: 326
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 15:04:03 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.67
x-archive-orig-date: Sun, 22 Aug 2010 17:58:01 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "14913e5bf965b38315dd2099b57b6d1e"
x-archive-orig-x-runtime: 56ms
x-archive-orig-content-length: 26593
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 22 Aug 2010 17:58:01 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_17_20100822153413_crawl103-c/52_17_20100822175736_crawl101.arc.gz
server-timing: captures_list;dur=0.651549, exclusion.robots;dur=0.021966, exclusion.robots.policy;dur=0.010083, esindex;dur=0.012365, cdx.remote;dur=38.815055, LoadShardBlock;dur=152.434923, PetaboxLoader3.datanode;dur=146.451014, PetaboxLoader3.resolve;dur=99.767630, load_resource;dur=97.154571
x-app-server: wwwb-app206-dc6
x-ts: 200
x-tr: 363
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
mikejs's gomongo at master - GitHub
mikejs / gomongo
- Source
- Commits
- Network (3)
- Issues (1)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
gomongo /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Jul 06 16:13:01 -0700 2010 | Uses crypto. library under CC0 (like public dom... [kless] |
| |
AUTHORS | Thu Jun 17 19:18:18 -0700 2010 | Modified license header to simplify copyright s... [kless] |
| |
LICENSE | Sat Jul 03 03:04:47 -0700 2010 | Little change in license header [kless] |
| |
LICENSE.GO | Mon Nov 16 03:53:48 -0800 2009 | licensing [mikejs] |
| |
README | Tue Jul 27 10:50:05 -0700 2010 | Little fix in readme [kless] |
| |
mongo/ | Sat Jul 10 02:42:49 -0700 2010 | Changed install path to original source [kless] |
README
======= gomongo ======= Go driver for `MongoDB`_, a document based database which is being used in `production`_ with great success. Read this `article` to know more. .. _MongoDB: https://www.mongodb.org/ .. _production: https://www.mongodb.org/display/DOCS/Production+Deployments .. _article: https://go.hokapoka.com/golang/mongodb-golang-gomongo/ Installation ============ The easiest way to install it's through `goinstall` which automatically installs the third libraries:: $ [sudo -E] goinstall github.com/mikejs/gomongo/mongo Example usage ------------- package main import "github.com/mikejs/gomongo/mongo" func main() { conn, _ := mongo.Connect("127.0.0.1") collection := conn.GetDB("test").GetCollection("test_collection") doc, _ := mongo.Marshal(map[string]string{ "_id": "doc1", "title": "A Mongo document", "content": "Testing, 1. 2. 3.", }) collection.Insert(doc) query, _ := mongo.Marshal(map[string]string{"_id": "doc1"}) got, _ := collection.FindOne(query) mongo.Equal(doc, got) // true! collection.Drop() }
- © 2010 GitHub Inc. All rights reserved.
- Terms of Service
- Privacy
- Security