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

refactor: Modualize the samples so that they can be gonew #130

Merged
merged 24 commits into from
Oct 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ This repository contains examples of microservices implemented using
the directory name. The [cellar](https://github.com/goadesign/examples/tree/master/cellar) example
provides a complete implementation of a simple microservice.

The samples in each directory serve as templates, and you can clone them using the `gonew` command, as explained in [this blog post](https://go.dev/blog/gonew).

```shell
$ go install golang.org/x/tools/cmd/gonew@latest
$ gonew github.com/ikawaha/examples/basic@latest github.com/<your_repo>/basic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be gonew goa.design/examples/basic@latest github.com/<your_repo>/basic?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooops, fixed in e0823af

$ cd basic
```

A [fully instrumented example](https://github.com/goadesign/clue/tree/main/example/weather) of a
system consisting of multiple Goa microservices is included in the
[Clue](https://github.com/goadesign/clue) repo.
Expand Down
Loading