Merge pull request #625 from steveyen/master
remove unused Document.Number property
This commit is contained in:
commit
b7a51dae2a
|
@ -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 {
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user