Skip to content

Remove poly-workshop/go-webmods dependency and internalize required packages#10

Merged
slhmy merged 3 commits intomainfrom
copilot/remove-poly-workshop-dependencies
Feb 3, 2026
Merged

Remove poly-workshop/go-webmods dependency and internalize required packages#10
slhmy merged 3 commits intomainfrom
copilot/remove-poly-workshop-dependencies

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 2, 2026

Removes the external github.com/poly-workshop/go-webmods dependency by implementing the required functionality directly in internal/pkg/.

New Internal Packages

  • internal/pkg/app - Viper config loading + slog/tint logging initialization
  • internal/pkg/gormclient - GORM factory for PostgreSQL, MySQL, SQLite
  • internal/pkg/mongoclient - MongoDB client factory
  • internal/pkg/redisclient - Redis client + distributed cache with pub/sub invalidation
  • internal/pkg/smtpmailer - SMTP email sender
  • internal/pkg/grpcutils - Request ID interceptor

Updated Imports

All references in cmd/, internal/infrastructure/, and internal/application/ updated to use new internal packages.

// Before
import "github.com/poly-workshop/go-webmods/app"

// After
import "github.com/poly-workshop/identra/internal/pkg/app"
Original prompt

This section details on the original issue you should resolve

<issue_title>Remove poly-workshop/go-webmods requirements and implement the needed code in this repo</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 2, 2026 14:13
…kages

Co-authored-by: slhmy <31381093+slhmy@users.noreply.github.com>
Co-authored-by: slhmy <31381093+slhmy@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove poly-workshop/go-webmods requirements and implement needed code Remove poly-workshop/go-webmods dependency and internalize required packages Feb 2, 2026
Copilot AI requested a review from slhmy February 2, 2026 14:17
@slhmy slhmy marked this pull request as ready for review February 3, 2026 03:03
@slhmy slhmy merged commit 60f1a40 into main Feb 3, 2026
1 check passed
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.

Remove poly-workshop/go-webmods requirements and implement the needed code in this repo

2 participants