mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-03 06:23:54 +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 {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
//nolint:composites
|
||||
//nolint:govet
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
//nolint:composites
|
||||
//nolint:govet
|
||||
|
||||
package cmcccloudvlb
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
//nolint:composites
|
||||
//nolint:govet
|
||||
|
||||
package cmcccloudcdn
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
//nolint:composites
|
||||
//nolint:govet
|
||||
|
||||
package cmcccloudvlb
|
||||
|
||||
import (
|
||||
|
||||
Submodule pkg/sdk3rd-forked updated: a0af860d1f...baf25c1f3c
Reference in New Issue
Block a user