Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEV = "dev" PROD = "prod" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { General GeneralConfig Notion NotionConfig }
Config is a service that is designed to provide various configuration to the rest of the application.
type GeneralConfig ¶
type GeneralConfig struct {
AppEnv string // the environment that the application is running in (dev, prod, etc)
}
GeneralConfig contains general information the application
type NotionConfig ¶
type NotionConfig struct { IntegrationToken string // integration token DatabaseID string // database ID }
NotionConfig contains information that the Notion API needs to run
Click to show internal directories.
Click to hide internal directories.