package oplcli import ( "fmt" "os" ) type Config struct { } func Scan(file string, config Config) { fmt.Printf("Scanning file: %s\n", file) gameID, err := scanGameFileForID(file) if err != nil { fmt.Printf("Failed to scan game file: %s", err) os.Exit(1) } fmt.Printf("Found game ID: %s\n", gameID) gameList, err := loadGamelist("./ps2-gameslist.txt") if err != nil { fmt.Printf("Failed to load game list: %v", err) } gameName := gameList[gameID] fmt.Printf("Found game name: %s\n", gameName) }