Documentation
¶
Index ¶
Constants ¶
View Source
const ( PROJECT_NAME string = "populate-redis" PROJECT_VERSION string = "1.0.0" LOGS_PATH string = "logs/log.json" // Path of the logs )
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
ReadConfig read json file and convert into config struct
Types ¶
type Config ¶
type Config struct {
Redis RedisConfig `json:"redis"`
}
Config: Configuration of the application
Click to show internal directories.
Click to hide internal directories.