feat(index): add save and load functionality for Index using gob encoding/decoding

This commit is contained in:
2025-03-26 00:10:28 +01:00
parent dd7f0c0a28
commit 75ba450d9b
2 changed files with 87 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import (
func main() {
// Initialize Index
index.CreateIndex()
index.InitIndex("default")
// Start HTTP Server
http.StartService()