Шаги: func viewAll(db *badger.DB) { txn := db.NewTransaction(false) defer txn.Discard() iterOpts :=...