https://github.com/bios-marcel/golang-api-facade-example
A simple example for creating an API with multiple implementations
https://github.com/bios-marcel/golang-api-facade-example
api example facade go golang pattern patterns
Last synced: 7 months ago
JSON representation
A simple example for creating an API with multiple implementations
- Host: GitHub
- URL: https://github.com/bios-marcel/golang-api-facade-example
- Owner: Bios-Marcel
- License: bsd-3-clause
- Created: 2018-11-26T21:52:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-29T20:31:01.000Z (almost 7 years ago)
- Last Synced: 2025-02-23T16:06:45.569Z (7 months ago)
- Topics: api, example, facade, go, golang, pattern, patterns
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Golang API facade example
A simple `Greeter` interface that has two implementations, one for japanese and one for english.
The benefit of this pattern is, that the code that uses the interface can use any implementation, as
long as that implementation sticks to the contract.