https://github.com/goadesign/examples
Examples for goa showing specific capabilities
https://github.com/goadesign/examples
hacktoberfest
Last synced: about 1 year ago
JSON representation
Examples for goa showing specific capabilities
- Host: GitHub
- URL: https://github.com/goadesign/examples
- Owner: goadesign
- License: mit
- Created: 2016-03-21T05:01:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-05-13T00:15:12.000Z (about 1 year ago)
- Last Synced: 2025-05-13T00:32:13.762Z (about 1 year ago)
- Topics: hacktoberfest
- Language: Go
- Homepage: https://goa.design
- Size: 66.2 MB
- Stars: 195
- Watchers: 13
- Forks: 71
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: security/README.md
Awesome Lists containing this project
README
# Goa Examples
[](https://gophers.slack.com/messages/goa/)
This repository contains examples of microservices implemented using
[Goa](https://github.com/goadesign/goa). Each example focuses on a specific topic as indicated by
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 goa.design/examples/basic@latest github.com//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.
To get started with the Goa Clue example, you can use the gonew command to clone it into your own repository:
```shell
$ gonew github.com/goadesign/clue/example/weather github.com//weather
$ cd weather
```
Please follow the README in the Clue repository for more details on running and testing the Goa Clue example.
As you study each example consider contributing back by providing better or more complete docs,
adding clarifying comments to code or fixing any error you may run across!