Closed dakyskye closed 4 years ago
I have also tried:
type botConfig struct {
bot.Config
}
type storageConfig struct {
storage.Config
}
type Config struct {
Version string
botConfig
storageConfig
}
the issue is the same - Process
func does not process them.
envconfig
can't see those keys since they're unexported, try renaming botConfig
to BotConfig
and storageConfig
to StorageConfig
.
Oh that's correct :+1:
package bot:
package storage:
package service:
package main:
Process
func does not process the Config types ofbot
andservice
packages.