Skip to content
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

no required module provides package main.go; to add it: go get main.go #1

Closed
gannicusleon opened this issue Sep 11, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@gannicusleon
Copy link

执行 go build -o build/debug/aidea-server main.go 时报错

no required module provides package main.go; to add it:
go get main.go

@mylxsw mylxsw added the documentation Improvements or additions to documentation label Sep 11, 2023
@mylxsw
Copy link
Owner

mylxsw commented Sep 11, 2023

不好意思,文档写错了,应该是

go build -o build/debug/aidea-server cmd/main.go

main.go 移动到 cmd/main.go 了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants