mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
fix: resolve golangci-lint issues
- Fix goimports formatting in multiple files - Remove unused keyType variables in kms_integration.go - Clean up import formatting
This commit is contained in:
+4
-4
@@ -15,7 +15,7 @@ func main() {
|
||||
viper.SetConfigType("yaml")
|
||||
viper.AddConfigPath("..")
|
||||
viper.AutomaticEnv()
|
||||
|
||||
|
||||
if err := viper.ReadInConfig(); err != nil {
|
||||
log.Printf("Warning: Could not read config file: %v", err)
|
||||
}
|
||||
@@ -68,7 +68,7 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to retrieve test key: %v", err)
|
||||
}
|
||||
|
||||
|
||||
if string(retrievedData) == string(testKeyData) {
|
||||
fmt.Println("✅ Successfully retrieved test key with correct data!")
|
||||
} else {
|
||||
@@ -81,7 +81,7 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to list keys: %v", err)
|
||||
}
|
||||
|
||||
|
||||
fmt.Printf("Found %d keys:\n", len(keys))
|
||||
for _, key := range keys {
|
||||
fmt.Printf(" - %s\n", key)
|
||||
@@ -97,4 +97,4 @@ func main() {
|
||||
}
|
||||
|
||||
fmt.Println("\n🎉 All tests passed! Lux KMS integration is working correctly.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user