mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-22 08:14:02 +01:00
Add map init so the map is non-nil
This commit is contained in:
parent
7f9263f931
commit
fe6447fa06
@ -31,6 +31,7 @@ var usedGoldens map[string]bool
|
||||
|
||||
func init() {
|
||||
initialWd = getInitialWd()
|
||||
usedGoldens = make(map[string]bool)
|
||||
}
|
||||
|
||||
func getInitialWd() string {
|
||||
|
Loading…
Reference in New Issue
Block a user