feat: init Go module with config and in-memory note store
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"eino-test/config"
|
||||
"eino-test/internal/store"
|
||||
)
|
||||
|
||||
func main() {
|
||||
cfg := config.Load()
|
||||
noteStore := store.NewMemoryNoteStore()
|
||||
_ = noteStore
|
||||
|
||||
log.Printf("Server starting on port %s (data dir: %s)", cfg.Port, cfg.DataDir)
|
||||
fmt.Println("Knowledge Assistant ready")
|
||||
}
|
||||
Reference in New Issue
Block a user