package documentsync type DocSyncConfig struct { DocumentSyncURL string `env:"DOCUMENT_SYNC_URL,required,notEmpty"` } func (c *DocSyncConfig) GetDocumentSyncURL() string { return c.DocumentSyncURL } type ConfigProvider interface { GetDocumentSyncURL() string }