mirror of
https://github.com/Direct-Dev-Ru/go-lcg.git
synced 2025-11-16 01:29:55 +00:00
before refactor serve.go
This commit is contained in:
@@ -54,6 +54,7 @@ func ShowHistory(historyPath string, printColored func(string, string), colorYel
|
||||
for _, h := range items {
|
||||
ts := h.Timestamp.Format("2006-01-02 15:04:05")
|
||||
fmt.Printf("%d. [%s] %s → %s\n", h.Index, ts, h.Command, h.Response)
|
||||
fmt.Printf("%s\n", "========================================================================================")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user