Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] no required module provides package #770

Closed
1 task done
jiangjjl opened this issue Sep 27, 2024 · 2 comments
Closed
1 task done

[BUG] no required module provides package #770

jiangjjl opened this issue Sep 27, 2024 · 2 comments

Comments

@jiangjjl
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

image
This is my go.mod file, but I still can't find the package when I run the Go program.
image
This is my env

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response

@jiangjjl jiangjjl added the bug label Sep 27, 2024
@jiangjjl
Copy link
Author

image

@jackgris
Copy link

If all those files are in root folder of your project you could run the project with this command: go run .
If you are in the root folder but the main function is in another folder you could run something like: go run ./cmd/api

Documentation

@jaitaiwan jaitaiwan removed the bug label Sep 29, 2024
@gorilla gorilla locked and limited conversation to collaborators Sep 29, 2024
@jaitaiwan jaitaiwan converted this issue into discussion #772 Sep 29, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants