mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-24 23:10:13 +08:00
style: lint code
This commit is contained in:
@@ -17,7 +17,7 @@ func GetGlobalSettingsForSSLProvider() domain.SettingsContentForSSLProvider {
|
||||
if content == nil {
|
||||
content = domain.SettingsContent{}
|
||||
}
|
||||
return *(content.(domain.SettingsContent)).AsSSLProvider()
|
||||
return *content.(domain.SettingsContent).AsSSLProvider()
|
||||
}
|
||||
|
||||
func GetGlobalSettingsForPersistence() domain.SettingsContentForPersistence {
|
||||
@@ -27,7 +27,7 @@ func GetGlobalSettingsForPersistence() domain.SettingsContentForPersistence {
|
||||
if content == nil {
|
||||
content = domain.SettingsContent{}
|
||||
}
|
||||
return *(content.(domain.SettingsContent)).AsPersistence()
|
||||
return *content.(domain.SettingsContent).AsPersistence()
|
||||
}
|
||||
|
||||
func registerSettingsStoreByName(settingsName string) error {
|
||||
|
||||
Reference in New Issue
Block a user