-
-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
Description
I have example like:
type SAMLProvider struct {
MetadataURL string `default:"${defaultMetadataURL}" env:"METADATA_URL" help:"${provider}'s metadata URL." placeholder:"URL" required:""`
EntityID string ` env:"ENTITY_ID" help:"${provider}'s entity ID." required:""`
}
type Providers struct {
MockSAML SAMLProvider `embed:"" envprefix:"MOCK_" prefix:"mock." set:"provider=MockSAML" set:"defaultMetadataURL=${defaultMockSAMLMetadataURL}"`
}
But it does not work because set
does not interpolate its value. I think this could be a nice feature which would help with reusability.
Metadata
Metadata
Assignees
Labels
No labels