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

Cwgo Getting Started page, not has the build.sh file #1154

Open
LF-DevJourney opened this issue Sep 27, 2024 · 6 comments
Open

Cwgo Getting Started page, not has the build.sh file #1154

LF-DevJourney opened this issue Sep 27, 2024 · 6 comments
Labels

Comments

@LF-DevJourney
Copy link

I follow by this page:https://www.cloudwego.io/docs/cwgo/getting-started/

but the step 5 there is no build.sh file.

go mod tidy && go mod verify
sh build.sh && sh output/bootstrap.sh

@LF-DevJourney LF-DevJourney added the bug Something isn't working label Sep 27, 2024
@rogerogers
Copy link
Contributor

rogerogers commented Sep 28, 2024

Normally, there will be. Is it convenient to show the current directory structure, IDL and generation commands?

@rogerogers rogerogers added Cwgo and removed bug Something isn't working labels Sep 28, 2024
@LF-DevJourney
Copy link
Author

Here is the directory tree.

$ tree
.
|-- biz
|   |-- dal
|   |   |-- init.go
|   |   |-- mysql
|   |   |   `-- init.go
|   |   `-- redis
|   |       `-- init.go
|   |-- handler
|   |   `-- hello
|   |       `-- example
|   |           |-- hello_service.go
|   |           `-- hello_service_test.go
|   |-- router
|   |   |-- hello
|   |   |   `-- example
|   |   |       |-- hello.go
|   |   |       `-- middleware.go
|   |   `-- register.go
|   |-- service
|   |   `-- hello_method.go
|   `-- utils
|       `-- resp.go
|-- conf
|   |-- conf.go
|   |-- dev
|   |   `-- conf.yaml
|   |-- online
|   |   `-- conf.yaml
|   `-- test
|       `-- conf.yaml
|-- docker-compose.yaml
|-- go.mod
|-- go.sum
|-- hertz_gen
|   `-- hello
|       `-- example
|           `-- hello.go
|-- idl
|   `-- hello.thrift
|-- main.go
|-- null
|-- readme.md
`-- script
    `-- bootstrap.sh

21 directories, 23 files

@LF-DevJourney
Copy link
Author

I use the windows 11 gitbash console

@rogerogers
Copy link
Contributor

Windows does not generate the build.sh file.

@LF-DevJourney
Copy link
Author

The documentation is not specific enough, and following it in practice can lead to many issues, which is a significant challenge for beginners.

I've experience so many issues and some dead links when learn the cloudwego.

I think improve the doc quality and keep updating is very important for the beginners.

@GuangmingLuo
Copy link
Member

Thanks for your advice, you are welcome to contribute when you find some bugs. Always welcome~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants