outdated import paths still reference github.com/MarioCarrion/todo-api #621
-
The repository contains multiple outdated references to github.com/MarioCarrion/todo-api, but the actual module path is github.com/MarioCarrion/todo-api-microservice-example. steps to reproduce: Run Errors received: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I accessed this code while trying to complete the Software Architecture in Golang: C4 Model for Diagraming and Documentation video |
Beta Was this translation helpful? Give feedback.
-
Hi @computerscienceiscool 👋🏽 I can't reproduce it: Not sure if this related to the Go version you're using, but either way I agree the Go module should match the actual repo URI as a best practice, I forgot to do that when I renamed this repository back in the day. I created a new branch called git clone https://github.com/MarioCarrion/todo-api-microservice-example.git
cd todo-api-microservice-example
git branch rename-module origin/rename-module
git checkout rename-module
make lint LMK if that works. Cheers. |
Beta Was this translation helpful? Give feedback.
-
At the time, I was trying to go through the C4 Model for Diagramming and Documentation video https://www.youtube.com/watch?v=pZ2z2tZkMsE I was using 1.22.1, since that is my default, then I updated it to 1.23.5 to use your code |
Beta Was this translation helpful? Give feedback.
Hi @computerscienceiscool 👋🏽
I can't reproduce it:
Not sure if this related to the Go version you're using, but either way I agree the Go module should match the actual repo URI as a best practice, I forgot to do that when I renamed this repository back in the day.
I created a new branch called
rename-module
, can you give it a try?git clone https://github.com/MarioCarrion/todo-api-microservice-example.git cd todo-api-microservice-example git branch rename-module origin/rename-module git checkout rename-module make lint
LMK if that works. Cheers.