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
|
||
|
|
}
|