0
0

Merge pull request #625 from steveyen/master

remove unused Document.Number property
This commit is contained in:
Marty Schoch 2017-08-24 17:08:20 -07:00 committed by GitHub
commit b7a51dae2a
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ type Document struct {
ID string `json:"id"` ID string `json:"id"`
Fields []Field `json:"fields"` Fields []Field `json:"fields"`
CompositeFields []*CompositeField CompositeFields []*CompositeField
Number uint64 `json:"-"`
} }
func NewDocument(id string) *Document { func NewDocument(id string) *Document {

View File

@ -293,7 +293,7 @@ func (udc *UpsideDownCouch) batchRows(writer store.KVWriter, addRowsAll [][]Upsi
} }
func (udc *UpsideDownCouch) Open() (err error) { func (udc *UpsideDownCouch) Open() (err error) {
//acquire the write mutex for the duratin of Open() // acquire the write mutex for the duration of Open()
udc.writeMutex.Lock() udc.writeMutex.Lock()
defer udc.writeMutex.Unlock() defer udc.writeMutex.Unlock()