issues
search
mrusme
/
superhighway84
USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB
https://xn--gckvb8fzb.com/superhighway84
GNU General Public License v3.0
694
stars
24
forks
source link
Some code optimizations
#56
Closed
Frederic-Zhou
closed
1 year ago
Frederic-Zhou
commented
1 year ago
return
err
of db.Store.EventBus().Subscribe(new(stores.EventReady)) in
init()
should merge variable declaration with assignment on next line
should omit comparison to bool constant, can be simplified to exist
err
of db.Store.EventBus().Subscribe(new(stores.EventReady)) ininit()