Repository navigation
docs: Fix Go SDK README and guide code samples, versions, and links - #204
promptless[bot] wants to merge 4 commits into
Conversation
|
✅ Gitleaks Findings: No secrets detected. Safe to proceed! |
|
GoSec Findings: No issues found, Good to merge. |
|
Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging. |
… signature snippet
|
✅ Gitleaks Findings: No secrets detected. Safe to proceed! |
|
GoSec Findings: No issues found, Good to merge. |
|
Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging. |
…eview # Conflicts: # README.md
|
✅ Gitleaks Findings: No secrets detected. Safe to proceed! |
|
Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging. |
|
GoSec Findings: High Severity Vulnerabilities are found in the code. Please address them before merging. |
|
Blocked — one thing needed from you On commit Need: Reply here with the Jira ticket ID to use for this PR. |
…eview # Conflicts: # README.md
|
✅ Gitleaks Findings: No secrets detected. Safe to proceed! |
|
Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging. |
|
GoSec Findings: High Severity Vulnerabilities are found in the code. Please address them before merging. |
Open in Promptless
Why
The Go SDK docs have samples that don't compile against the current SDK, an outdated minimum Go version, and broken anchors and links.
Goal
README.md: raise the Go floor to 1.25.0 to matchv2/go.mod. Make the Quickstart a single program that runs. Add the requiredoptionsargument to 18 calls (Insert, Query, Tokenize, Delete, UploadFile, DeidentifyText, ReidentifyText, DeidentifyFile, GetDetectRun). Fix a broken table-of-contents anchor and a broken in-text link to the bearer-tokens section.docs/advanced_initialization.md: fix a "Python SDK" copy error,:=typos, a missingfmtimport, and add client error handling so the sample compiles and reports initialization errors.docs/auth_credentials.md: correct the credential precedence order.docs/api_reference.mdanddocs/migrate_to_v2.md: correct the casing of response keys.docs/migrate_to_v2.md: fix a dead CHANGELOG link.README-v1.md: fix compile and runtime errors in the samples, such as:=typos, missing struct commas, aConnectionConfigfield type mismatch, an undefined variable, a missing import, an invalidLogLevelselector, and literal types that panic on the v1 type assertions.samples/v2/go.modand CI, the column name in the Query example, which the team should confirm, and stale pre-Fern docs.skyflow.com URLs.Testing
maincommit. Review comments on this PR link each correction to the source line that supports it.Trigger Events