Temp directory renamed to nms-{SEED}

This commit is contained in:
bradley.richins
2020-10-20 15:14:42 -06:00
parent 230cefb85d
commit f291891139
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ func CreateBanner(portalhex string, savename string, vopt int) {
var glyphImg [12]string var glyphImg [12]string
// Setup temp dir // Setup temp dir
tempdir, err := ioutil.TempDir("", ".gotemp") tempdir, err := ioutil.TempDir("", "nmslib-")
if err != nil { if err != nil {
panic(err) panic(err)
} }

View File

@@ -20,7 +20,7 @@ type korvaxWord struct {
Korvax2Eng - Translate a Korvax word to English Korvax2Eng - Translate a Korvax word to English
*/ */
func Korvax2Eng(kvwrd string) string { func Korvax2Eng(kvwrd string) string {
tempdir, err := ioutil.TempDir("", ".gotemp") tempdir, err := ioutil.TempDir("", "nmslib-")
if err != nil { if err != nil {
panic(err) panic(err)
} }
@@ -62,7 +62,7 @@ func Korvax2Eng(kvwrd string) string {
Eng2Korvax - Convert (some) english words to Korvax Eng2Korvax - Convert (some) english words to Korvax
*/ */
func Eng2Korvax(enwrd string) string { func Eng2Korvax(enwrd string) string {
tempdir, err := ioutil.TempDir("", ".gotemp") tempdir, err := ioutil.TempDir("", "nmslib")
if err != nil { if err != nil {
panic(err) panic(err)
} }