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

fix: quickstart dont work #4160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix: quickstart dont work #4160

wants to merge 1 commit into from

Conversation

yunfan
Copy link

@yunfan yunfan commented May 23, 2024

the default quickstart section do not work for the command order
this would failed beginner and prevent their going on learning, so after i fingered out the fixing, i just want to contributed it back
to you

@kesonan
Copy link
Collaborator

kesonan commented Jun 2, 2024

Maybe deleted go mod init should be work.

@yunfan
Copy link
Author

yunfan commented Jun 3, 2024

go version go1.22.3 linux/amd64

@kesonan
Copy link
Collaborator

kesonan commented Jun 4, 2024

image
I can generate code by executing goctl api new greet, but an error ocurred while running the project, do you mean it can not work beacuse of this issue block your learning step?

@yunfan
Copy link
Author

yunfan commented Jun 5, 2024

@kesonan not only the failing blocked my learning path but also the steps has other issues in the middle, please check the following screenshots

x_000
x_001

as showed above, if i began with a fresh directory, it will has problem when running go mod init which required my gaving the mod name , and after i gaved the mod name to init, it then caused bigger problem when running the sample code

and i paste the generated code here
sample.zip

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.

None yet

2 participants