20 lines
257 B
Go
Raw Normal View History

2017-06-16 23:32:47 +00:00
package auth
2017-06-15 13:50:39 +00:00
import (
"encoding/json"
"io/ioutil"
2017-06-20 16:06:41 +00:00
"github.com/animenotifier/arn"
)
2017-06-15 13:50:39 +00:00
2017-06-20 16:06:41 +00:00
var apiKeys arn.APIKeys
2017-06-15 13:50:39 +00:00
func init() {
data, _ := ioutil.ReadFile("security/api-keys.json")
err := json.Unmarshal(data, &apiKeys)
if err != nil {
panic(err)
}
}