Skip to content

Commit

Permalink
Add information about cloning templates using command
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawaha committed Oct 14, 2023
1 parent 94ef080 commit f700e77
Showing 1 changed file with 8 additions and 0 deletions.
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
$ 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

0 comments on commit f700e77

Please sign in to comment.