From 287f0c6d4e2df3da5c99057d34e61a949567d77c Mon Sep 17 00:00:00 2001 From: Aleksandr Zelenin Date: Tue, 9 Oct 2018 06:14:59 +0300 Subject: [PATCH] readme fix --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7368152..01dd9de 100644 --- a/README.md +++ b/README.md @@ -49,13 +49,13 @@ package main import ( "log" + "path/filepath" "github.com/zelenin/go-tdlib/client" ) func main() { client.SetLogVerbosityLevel(1) - client.SetLogFilePath("/dev/stderr") // client authorizer authorizer := client.ClientAuthorizer() @@ -72,8 +72,8 @@ func main() { authorizer.TdlibParameters <- &client.TdlibParameters{ UseTestDc: false, - DatabaseDirectory: "./.tdlib/database", - FilesDirectory: "./.tdlib/files", + DatabaseDirectory: filepath.Join(".tdlib", "database"), + FilesDirectory: filepath.Join(".tdlib", "files"), UseFileDatabase: true, UseChatInfoDatabase: true, UseMessageDatabase: true,