mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-01-22 06:10:26 +01:00
go fmt'ed
This commit is contained in:
parent
ccb6849903
commit
df3f7ab526
18
main.go
18
main.go
@ -31,15 +31,15 @@ func main() {
|
||||
var err error
|
||||
var backend Backend
|
||||
|
||||
if driver == "sqlite" {
|
||||
if backend, err = NewSqliteBackend(args[0]); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
} else {
|
||||
if backend, err = NewLeveDBBackend(args[0], cacheSize); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
if driver == "sqlite" {
|
||||
if backend, err = NewSqliteBackend(args[0]); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
} else {
|
||||
if backend, err = NewLeveDBBackend(args[0], cacheSize); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
defer backend.Shutdown()
|
||||
|
||||
var listener net.Listener
|
||||
|
Loading…
Reference in New Issue
Block a user