Fix lint errors

This commit is contained in:
世界
2026-05-14 22:53:22 +08:00
parent 4b55717612
commit 2c2e08e608
38 changed files with 284 additions and 333 deletions
+2 -1
View File
@@ -30,7 +30,8 @@ type Store struct {
certificatePaths []string
certificateDirectoryPaths []string
watcher *fswatch.Watcher
platform storePlatform
//nolint:unused // populated only on darwin && cgo via the storePlatform embed.
platform storePlatform
}
func NewStore(ctx context.Context, logger logger.Logger, options option.CertificateOptions) (*Store, error) {
+1
View File
@@ -2,6 +2,7 @@
package certificate
//nolint:unused // referenced by Store.platform; populated only in store_darwin.go.
type storePlatform struct{}
func (s *Store) updatePlatformLocked(_ []byte) error {