mirror of
https://github.com/Kyren223/eko.git
synced 2025-09-05 21:18:14 +00:00
feat: worked on client
This commit is contained in:
@@ -1,9 +1,20 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/kyren223/eko/internal/client"
|
||||
)
|
||||
|
||||
func main() {
|
||||
logFile, err := os.OpenFile("client.log", os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0666)
|
||||
if err != nil {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
defer logFile.Close()
|
||||
log.SetOutput(logFile)
|
||||
|
||||
client.Run()
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user