Skip to content

Go SDK README: "The cipher" section scopes a cipher with the deprecated Extend — use Scope #1854

In review

Description

@auxesis

Background

The Go SDK is in languages/golang in this repository. Its user docs are the READMEs of encrypt and cmd/stashgen, the package doc comments, and the testable examples. pkg.go.dev shows all of them. In November 2026 we audited the docs of version v0.1.0-rc.7. AI agents built programs from the published docs alone, against a dev workspace and PostgreSQL 17 with EQL (Encrypt Query Language) v4. EQL is the SQL extension that stores and queries encrypted values.

Problem

"The cipher" section uses Extend. go doc marks Extend as deprecated, to be removed in 0.1.0. Staticcheck reports SA1019 for code copied from the section.

Proposal

  1. Replace Extend with Scope in the section and its samples.

Evidence

Verified with gopls and go doc.

Metadata

Metadata

Assignees

Labels

GolangSDKdocumentation

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions