Skip to content

Commit 033e02f

Browse files
committed
remove extra newline and fix formatting
1 parent 3f73e39 commit 033e02f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

example/main.go

+8-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"encoding/pem"
99
"fmt"
1010
"os"
11-
1211
)
1312

1413
// [developer-docs.sdk.go.sdk-import]-start
@@ -69,7 +68,14 @@ func listVaultsAndItems(client *onepassword.Client, vaultID string) {
6968
// [developer-docs.sdk.go.list-items]-end
7069

7170
// [developer-docs.sdk.go.use-item-filters]-start
72-
archivedOverviews, err := client.Items().List(context.Background(), vaultID, onepassword.NewItemListFilterTypeVariantByState(&onepassword.ItemListFilterByStateInner{Active: false, Archived: true}))
71+
archivedOverviews, err := client.Items().List(context.Background(), vaultID,
72+
onepassword.NewItemListFilterTypeVariantByState(
73+
&onepassword.ItemListFilterByStateInner{
74+
Active: false,
75+
Archived: true,
76+
},
77+
),
78+
)
7379
if err != nil {
7480
panic(err)
7581
}

0 commit comments

Comments
 (0)