github.com/go-kivik/kivik/v4@v4.3.2/x/fsdb/cdb/testdata/TestDocumentPersist_new_doc,_one_rev (about) 1 (*cdb.Document)({ 2 ID: (string) (len=3) "foo", 3 Revisions: (cdb.Revisions) (len=1) { 4 (*cdb.Revision)({ 5 RevMeta: (cdb.RevMeta) { 6 Rev: (cdb.RevID) { 7 Seq: (int64) 1, 8 Sum: (string) (len=32) "dfa62a1425fc6e708c425f48686f7c78", 9 original: (string) "" 10 }, 11 Deleted: (*bool)(<nil>), 12 Attachments: (map[string]*cdb.Attachment) <nil>, 13 RevHistory: (*cdb.RevHistory)({ 14 Start: (int64) 1, 15 IDs: ([]string) (len=1) { 16 (string) (len=32) "dfa62a1425fc6e708c425f48686f7c78" 17 } 18 }), 19 isMain: (bool) false, 20 path: (string) (len=X) "<tmpdir>/foo.json", 21 fs: (*filesystem.defaultFS)({ 22 }) 23 }, 24 Data: (map[string]interface {}) (len=1) { 25 (string) (len=5) "value": (string) (len=3) "bar" 26 }, 27 options: (map[string]interface {}) (len=1) { 28 (string) (len=4) "revs": (bool) true 29 } 30 }) 31 }, 32 RevsInfo: ([]cdb.RevInfo) <nil>, 33 RevHistory: (*cdb.RevHistory)(<nil>), 34 Options: (map[string]interface {}) <nil>, 35 cdb: (*cdb.FS)({ 36 fs: (*filesystem.defaultFS)({ 37 }), 38 root: (string) (len=X) "<tmpdir>" 39 }) 40 })