2017-06-20 18:06:41 +02:00

20 lines
257 B
Go

package auth
import (
"encoding/json"
"io/ioutil"
"github.com/animenotifier/arn"
)
var apiKeys arn.APIKeys
func init() {
data, _ := ioutil.ReadFile("security/api-keys.json")
err := json.Unmarshal(data, &apiKeys)
if err != nil {
panic(err)
}
}