This commit is contained in:
darius 2024-05-03 22:48:10 +02:00
parent 1592192b01
commit 6c1d439381

View File

@ -15,7 +15,7 @@ func readJson() []Server {
fmt.Println(err)
}
fmt.Println("Successfully Opened users.json")
// defer the closing of our jsonFile so that we can parse it later on
defer jsonFile.Close()
byteValue, _ := io.ReadAll(jsonFile)