Better formatting of dump
This commit is contained in:
parent
fbd50145fc
commit
fa6980f545
@ -73,7 +73,6 @@ func main() {
|
||||
fmt.Fprintf(os.Stderr, "cmd parse fail: %v\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
logg.Infof("start command", "conn", conns, "subcmd", x)
|
||||
|
||||
menuStorageService := storage.NewMenuStorageService(conns)
|
||||
|
@ -24,7 +24,7 @@ func formatItem(k []byte, v []byte, sessionId string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
s := fmt.Sprintf("%v\t%v\n", o.Label, string(v))
|
||||
s := fmt.Sprintf("%v\n\t%v\n", o.Label, string(v))
|
||||
|
||||
return s, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user