Added file with vk constants

This commit is contained in:
Artyom Belousov 2019-10-15 00:28:23 +03:00
parent 27f054b0f3
commit 728749d60a
2 changed files with 11 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,6 +1,3 @@
vendor
mtg-price-vk
go-mtg-vk
*/.swp
vk/token.go
vk/secrets.go

11
vk/secrets.go Normal file
View file

@ -0,0 +1,11 @@
package vk
import (
"os"
"strconv"
)
var TOKEN = os.Getenv("VK_TOKEN")
var SECRET_KEY = os.Getenv("VK_SECRET_KEY")
var GROUPID, _ = strconv.ParseInt(os.Getenv("VK_GROUP_ID"), 10, 64)
var CONFIRMATION_STRING = os.Getenv("VK_CONFIRMATION_STRING")