-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstant.go
More file actions
25 lines (17 loc) · 738 Bytes
/
constant.go
File metadata and controls
25 lines (17 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package main
const (
// AuthenticationTokenFile path to authentication token
AuthenticationTokenFile string = "token.json"
// Credentials path
Credentials string = "credentials.json"
// TranslationTokenFile path to Yandex translate token
TranslationTokenFile string = "translation_token.json"
// UnreadMessagesQuery to fetch unread messages from the inbox
UnreadMessagesQuery string = "in:inbox is:unread category:primary"
// TargetUserID for gmail account
TargetUserID string = "me"
// YandexTranslateDomain translation API domain
YandexTranslateDomain string = "https://translate.yandex.net/api/v1.5/tr.json/translate"
// ConfigurationFile path to the configuration file
ConfigurationFile string = "config.json"
)