Skip to content

Remove old code#49

Merged
djthorpe merged 1 commit into
mainfrom
djt/0611/remove-types
Jun 11, 2026
Merged

Remove old code#49
djthorpe merged 1 commit into
mainfrom
djt/0611/remove-types

Conversation

@djthorpe

Copy link
Copy Markdown
Member

No description provided.

@djthorpe djthorpe self-assigned this Jun 11, 2026
Copilot AI review requested due to automatic review settings June 11, 2026 10:49
@github-actions

Copy link
Copy Markdown

Coverage for this change: 62.4%

@djthorpe djthorpe merged commit 7bc14f2 into main Jun 11, 2026
4 checks passed
@djthorpe djthorpe deleted the djt/0611/remove-types branch June 11, 2026 10:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the in-repo pkg/types string utility package (and its tests/docs) and updates callers to use the equivalent types utilities from github.com/mutablelogic/go-server/pkg/types instead.

Changes:

  • Deleted the legacy pkg/types package files (string helpers + package docs) and associated unit tests.
  • Updated imports in core query/binding and listener code to use github.com/mutablelogic/go-server/pkg/types.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pkg/types/string.go Removed legacy string quoting/classification helpers from this module.
pkg/types/string_test.go Removed tests for the deleted legacy pkg/types helpers.
pkg/types/doc.go Removed package documentation for the deleted pkg/types package.
listener.go Switched types import to go-server/pkg/types for identifier quoting in LISTEN/UNLISTEN.
bind.go Switched types import to go-server/pkg/types for quoting and substitution helpers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread bind.go
Comment on lines 12 to 15
// Packages
pgx "github.com/jackc/pgx/v5"
types "github.com/mutablelogic/go-pg/pkg/types"
types "github.com/mutablelogic/go-server/pkg/types"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants