Skip to content

fix: update unit tests and fix incorrect module path imports#50

Merged
ArmanTaheriGhaleTaki merged 2 commits into403unlocker:mainfrom
GeeDook:main
Feb 6, 2026
Merged

fix: update unit tests and fix incorrect module path imports#50
ArmanTaheriGhaleTaki merged 2 commits into403unlocker:mainfrom
GeeDook:main

Conversation

@GeeDook
Copy link
Contributor

@GeeDook GeeDook commented Feb 3, 2026

The module path in go.mod must match the actual import path users need to use. Since our code is located in a subdirectory of the repository, the module path must include that subdirectory prefix.
https://go.dev/ref/mod#module-paths:~:text=Module%20paths%C2%B6,of%20a%20test.

Previously (incorrect): module 403unlocker-cli
Now (correct): module github.com/403unlocker/403unlocker-cli/subdir

This fixes the "invalid module path" error when running go mod commands.

@ArmanTaheriGhaleTaki ArmanTaheriGhaleTaki merged commit 5cc7793 into 403unlocker:main Feb 6, 2026
3 checks 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.

2 participants