7001ca854c
Queuing Changes and Cfg Testing * staarting * staarting * startedpush * note * save * mocking * removederrs * fixtests * cleanuperrs * newenvsetup * preppingtests * queue * mmovetocfgpassunittests * sortoutconfig * passinginteg * deps * fixtests
14 lines
275 B
Go
14 lines
275 B
Go
package documentclean
|
|
|
|
type DocCleanConfig struct {
|
|
DocumentCleanURL string `env:"DOCUMENT_CLEAN_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *DocCleanConfig) GetDocumentCleanURL() string {
|
|
return c.DocumentCleanURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetDocumentCleanURL() string
|
|
}
|