You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.
../../../boltdb/bolt/db.go:113:11: error: reference to undefined identifier ‘sync.Pool’
pagePool sync.Pool
^
../../../boltdb/bolt/db.go:223:21: error: reference to undefined identifier ‘sync.Pool’
db.pagePool = sync.Pool{
^
../../../boltdb/bolt/db.go:223:25: error: expected ‘;’ or ‘}’ or newline
db.pagePool = sync.Pool{
^
../../../boltdb/bolt/db.go:224:27: error: expected ‘;’ or newline after top level declaration
New: func() interface{} {
^
../../../boltdb/bolt/db.go:226:3: error: expected declaration
},
^
../../../boltdb/bolt/db.go:230:2: error: expected declaration
if err := db.mmap(options.InitialMmapSize); err != nil {
^
../../../boltdb/bolt/db.go:230:46: error: expected declaration
if err := db.mmap(options.InitialMmapSize); err != nil {
^
../../../boltdb/bolt/db.go:232:3: error: expected declaration
return nil, err
^
../../../boltdb/bolt/db.go:233:2: error: expected declaration
}
^
../../../boltdb/bolt/db.go:236:2: error: expected declaration
db.freelist = newFreelist()
^
../../../boltdb/bolt/db.go:237:2: error: expected declaration
db.freelist.read(db.page(db.meta().freelist))
^
../../../boltdb/bolt/db.go:240:2: error: expected declaration
return db, nil
^
../../../boltdb/bolt/db.go:241:1: error: expected declaration
}
^
../../../boltdb/bolt/db.go:224:25: error: missing return at end of function
New: func() interface{} {
^
../../../boltdb/bolt/db.go:176:3: error: too many values in return statement
return nil, err
^
../../../boltdb/bolt/db.go:188:3: error: too many values in return statement
return nil, err
^
../../../boltdb/bolt/db.go:196:3: error: too many values in return statement
return nil, err
^
../../../boltdb/bolt/db.go:200:4: error: too many values in return statement
return nil, err
^
../../../boltdb/bolt/db.go:461:3: error: not enough arguments to return
return db.beginRWTx()
^
../../../boltdb/bolt/db.go:463:2: error: not enough arguments to return
return db.beginTx()
^
../../../boltdb/bolt/db.go:489:20: error: argument 1 must be a slice
db.txs = append(db.txs, t)
^
../../../boltdb/bolt/db.go:532:2: error: range clause must have array, slice, string, map, or channel type
for _, t := range db.txs {
^
../../../boltdb/bolt/db.go:553:2: error: range clause must have array, slice, string, map, or channel type
for i, t := range db.txs {
^
../../../boltdb/bolt/db.go:671:34: error: argument 1 must be a slice
db.batch.calls = append(db.batch.calls, call{fn: fn, err: errCh})
^
../../../boltdb/bolt/db.go:739:3: error: range clause must have array, slice, string, map, or channel type
for _, c := range b.calls {
^
../../../boltdb/bolt/db.go:718:4: error: range clause must have array, slice, string, map, or channel type
for i, c := range b.calls {
^
../../../boltdb/bolt/db.go:833:27: error: non-integer len argument to make
buf = make([]byte, count*db.pageSize)
^
../../../boltdb/bolt/tx.go:71:2: error: return with value in function with no return type
return tx.db
^
../../../boltdb/bolt/tx.go:108:2: error: not enough arguments to return
return tx.root.CreateBucket(name)
^
../../../boltdb/bolt/tx.go:115:2: error: not enough arguments to return
return tx.root.CreateBucketIfNotExists(name)
^
../../../boltdb/bolt/tx.go:138:31: error: argument 1 must be a slice
tx.commitHandlers = append(tx.commitHandlers, fn)
^
../../../boltdb/bolt/tx.go:177:47: error: division by zero
p, err := tx.allocate((tx.db.freelist.size() / tx.db.pageSize) + 1)
^
../../../boltdb/bolt/tx.go:209:4: error: expected channel
err, ok := <-ch
^
../../../boltdb/bolt/tx.go:231:2: error: range clause must have array, slice, string, map, or channel type
for _, fn := range tx.commitHandlers {
^
../../../boltdb/bolt/tx.go:477:2: error: range clause must have array, slice, string, map, or channel type
for _, p := range tx.pages {
^
../../../boltdb/bolt/tx.go:574:6: error: expected map index on right hand side
if p, ok := tx.pages[id]; ok {
^
../../../boltdb/bolt/tx.go:574:6: error: invalid tuple definition
../../../boltdb/bolt/db.go:532:6: error: invalid type for range clause
for _, t := range db.txs {
^
../../../boltdb/bolt/db.go:553:6: error: invalid type for range clause
for i, t := range db.txs {
^
../../../boltdb/bolt/db.go:553:6: error: invalid type for range clause
../../../boltdb/bolt/db.go:739:7: error: invalid type for range clause
for _, c := range b.calls {
^
../../../boltdb/bolt/db.go:718:8: error: invalid type for range clause
for i, c := range b.calls {
^
../../../boltdb/bolt/db.go:718:8: error: invalid type for range clause
../../../boltdb/bolt/tx.go:231:6: error: invalid type for range clause
for _, fn := range tx.commitHandlers {
^
../../../boltdb/bolt/tx.go:477:6: error: invalid type for range clause
for _, p := range tx.pages {
^
The text was updated successfully, but these errors were encountered:
github.com/boltdb/bolt
../../../boltdb/bolt/db.go:113:11: error: reference to undefined identifier ‘sync.Pool’
pagePool sync.Pool
^
../../../boltdb/bolt/db.go:223:21: error: reference to undefined identifier ‘sync.Pool’
db.pagePool = sync.Pool{
^
../../../boltdb/bolt/db.go:223:25: error: expected ‘;’ or ‘}’ or newline
db.pagePool = sync.Pool{
^
../../../boltdb/bolt/db.go:224:27: error: expected ‘;’ or newline after top level declaration
New: func() interface{} {
^
../../../boltdb/bolt/db.go:226:3: error: expected declaration
},
^
../../../boltdb/bolt/db.go:230:2: error: expected declaration
if err := db.mmap(options.InitialMmapSize); err != nil {
^
../../../boltdb/bolt/db.go:230:46: error: expected declaration
if err := db.mmap(options.InitialMmapSize); err != nil {
^
../../../boltdb/bolt/db.go:232:3: error: expected declaration
return nil, err
^
../../../boltdb/bolt/db.go:233:2: error: expected declaration
}
^
../../../boltdb/bolt/db.go:236:2: error: expected declaration
db.freelist = newFreelist()
^
../../../boltdb/bolt/db.go:237:2: error: expected declaration
db.freelist.read(db.page(db.meta().freelist))
^
../../../boltdb/bolt/db.go:240:2: error: expected declaration
return db, nil
^
../../../boltdb/bolt/db.go:241:1: error: expected declaration
}
^
../../../boltdb/bolt/db.go:224:25: error: missing return at end of function
New: func() interface{} {
^
../../../boltdb/bolt/db.go:176:3: error: too many values in return statement
return nil, err
^
../../../boltdb/bolt/db.go:188:3: error: too many values in return statement
return nil, err
^
../../../boltdb/bolt/db.go:196:3: error: too many values in return statement
return nil, err
^
../../../boltdb/bolt/db.go:200:4: error: too many values in return statement
return nil, err
^
../../../boltdb/bolt/db.go:461:3: error: not enough arguments to return
return db.beginRWTx()
^
../../../boltdb/bolt/db.go:463:2: error: not enough arguments to return
return db.beginTx()
^
../../../boltdb/bolt/db.go:489:20: error: argument 1 must be a slice
db.txs = append(db.txs, t)
^
../../../boltdb/bolt/db.go:532:2: error: range clause must have array, slice, string, map, or channel type
for _, t := range db.txs {
^
../../../boltdb/bolt/db.go:553:2: error: range clause must have array, slice, string, map, or channel type
for i, t := range db.txs {
^
../../../boltdb/bolt/db.go:671:34: error: argument 1 must be a slice
db.batch.calls = append(db.batch.calls, call{fn: fn, err: errCh})
^
../../../boltdb/bolt/db.go:739:3: error: range clause must have array, slice, string, map, or channel type
for _, c := range b.calls {
^
../../../boltdb/bolt/db.go:718:4: error: range clause must have array, slice, string, map, or channel type
for i, c := range b.calls {
^
../../../boltdb/bolt/db.go:833:27: error: non-integer len argument to make
buf = make([]byte, count*db.pageSize)
^
../../../boltdb/bolt/tx.go:71:2: error: return with value in function with no return type
return tx.db
^
../../../boltdb/bolt/tx.go:108:2: error: not enough arguments to return
return tx.root.CreateBucket(name)
^
../../../boltdb/bolt/tx.go:115:2: error: not enough arguments to return
return tx.root.CreateBucketIfNotExists(name)
^
../../../boltdb/bolt/tx.go:138:31: error: argument 1 must be a slice
tx.commitHandlers = append(tx.commitHandlers, fn)
^
../../../boltdb/bolt/tx.go:177:47: error: division by zero
p, err := tx.allocate((tx.db.freelist.size() / tx.db.pageSize) + 1)
^
../../../boltdb/bolt/tx.go:209:4: error: expected channel
err, ok := <-ch
^
../../../boltdb/bolt/tx.go:231:2: error: range clause must have array, slice, string, map, or channel type
for _, fn := range tx.commitHandlers {
^
../../../boltdb/bolt/tx.go:477:2: error: range clause must have array, slice, string, map, or channel type
for _, p := range tx.pages {
^
../../../boltdb/bolt/tx.go:574:6: error: expected map index on right hand side
if p, ok := tx.pages[id]; ok {
^
../../../boltdb/bolt/tx.go:574:6: error: invalid tuple definition
../../../boltdb/bolt/db.go:532:6: error: invalid type for range clause
for _, t := range db.txs {
^
../../../boltdb/bolt/db.go:553:6: error: invalid type for range clause
for i, t := range db.txs {
^
../../../boltdb/bolt/db.go:553:6: error: invalid type for range clause
../../../boltdb/bolt/db.go:739:7: error: invalid type for range clause
for _, c := range b.calls {
^
../../../boltdb/bolt/db.go:718:8: error: invalid type for range clause
for i, c := range b.calls {
^
../../../boltdb/bolt/db.go:718:8: error: invalid type for range clause
../../../boltdb/bolt/tx.go:231:6: error: invalid type for range clause
for _, fn := range tx.commitHandlers {
^
../../../boltdb/bolt/tx.go:477:6: error: invalid type for range clause
for _, p := range tx.pages {
^
The text was updated successfully, but these errors were encountered: