Implement Read Only mode
This commit is contained in:
parent
6464d92dd4
commit
e1bd235785
19 changed files with 544 additions and 335 deletions
|
@ -6,7 +6,7 @@ func TestNews(t *testing.T) {
|
|||
const text = "Some news text"
|
||||
|
||||
db := Init(test_host, test_coll)
|
||||
defer db.del()
|
||||
defer del(db)
|
||||
|
||||
err := db.AddNews(text)
|
||||
if err != nil {
|
||||
|
|
Reference in a new issue