func openLinerHistory(line *liner.State) { if f, err := os.Open(historyFilename); err == nil { line.ReadHistory(f) f.Close() } }