555b6d420b
Document Result Endpoint * testing * cleantesting * progress * query * lint * readme * dockerclient * api * passtest * tests * test
16 lines
304 B
Go
16 lines
304 B
Go
package documenttext
|
|
|
|
const EnvName = "DOCUMENT_TEXT_URL"
|
|
|
|
type DocTextConfig struct {
|
|
DocumentTextURL string `env:"DOCUMENT_TEXT_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *DocTextConfig) GetDocumentTextURL() string {
|
|
return c.DocumentTextURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetDocumentTextURL() string
|
|
}
|