switched from .env to built-in envrionment file

This commit is contained in:
2024-08-16 23:32:16 -04:00
parent f37622010f
commit 55cb0e2bd5
9 changed files with 37 additions and 33 deletions

16
environmentType.go Normal file
View File

@ -0,0 +1,16 @@
package main
type EnvironmentStruct struct {
ANILIST_SECRET_TOKEN string
ANILIST_APP_ID string
ANILIST_APP_NAME string
ANILIST_CALLBACK_URI string
SIMKL_CLIENT_ID string
SIMKL_CLIENT_SECRET string
SIMKL_CALLBACK_URI string
MAL_CLIENT_ID string
MAL_CLIENT_SECRET string
MAL_CALLBACK_URI string
}
// created a separate environment.go file and add var Environment EnvironmentStruct = {}