updated to use new ezconf
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
type API struct {
|
||||
*Config
|
||||
token string // ENV TMDB_TOKEN: API token for TMDB (required)
|
||||
token string `ezconf:"TMDB_TOKEN,description:API token for TMDB,required"`
|
||||
}
|
||||
|
||||
func NewAPIConnection() (*API, error) {
|
||||
|
||||
Reference in New Issue
Block a user