-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Go docs #862
Update Go docs #862
Conversation
No New Or Fixed Issues Found |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #862 +/- ##
=======================================
Coverage 57.92% 57.92%
=======================================
Files 193 193
Lines 13120 13120
=======================================
Hits 7600 7600
Misses 5520 5520 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@@ -52,25 +52,25 @@ err := bitwardenClient.AccessTokenLogin(accessToken, &statePath) | |||
#### Create a Project | |||
|
|||
```go | |||
project, err := client.Projects().Create("organization_id", "project_name") | |||
project, err := bitwardenClient.Projects().Create("organization_id", "project_name") | |||
``` | |||
|
|||
#### List Projects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏️ Should we add Get Project (by id) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch! Added in 2ec353f.
@@ -80,34 +80,34 @@ project, err := client.Projects().Delete([]string{"project_id_1", "project_id_2" | |||
#### Create a Secret | |||
|
|||
```go | |||
secret, err := client.Secrets().Create("key", "value", "note", "organization_id", []string{"project_id"}) | |||
secret, err := bitwardenClient.Secrets().Create("key", "value", "note", "organization_id", []string{"project_id"}) | |||
``` | |||
|
|||
#### List Secrets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏️ Should we add Get Secrets (by id) and Get (multiple) Secrets By Ids ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in 47f059e.
🎟️ Tracking
https://bitwarden.atlassian.net/browse/SM-1265
📔 Objective
Correct a syntax error and use consistent and descriptive
bitwardenClient
variable name.⏰ Reminders before review
team
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmedissue and could potentially benefit from discussion
:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes