https://github.com/roger-king/go-wire-demo
Google's GoLang Wire tutorial
https://github.com/roger-king/go-wire-demo
Last synced: 2 months ago
JSON representation
Google's GoLang Wire tutorial
- Host: GitHub
- URL: https://github.com/roger-king/go-wire-demo
- Owner: roger-king
- Created: 2021-02-01T14:28:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T15:09:52.000Z (over 4 years ago)
- Last Synced: 2025-02-01T02:25:16.783Z (4 months ago)
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go-Fiber-Template
GoLang API server that utilizes Fiber and Google's Wire DI.
## How-To
In order to re-use this template, we need to perform some manual steps: (TODO: to automate some steps plus some extra codegen)
1. Do a global find and replace of `github.com/roger-king/go-wire-demo`.
- This is needed because of how go does imports!
- WIP: automating this step!
2. Ensure you have docker installed!## Usage
```bash
# run docker-compose command
make start# generate wire_gen file
make wire# production build
make build
```## Docs:
- [Fiber](https://gofiber.io/)
- [Wire](https://github.com/google/wire)
- [Testify](https://github.com/stretchr/testify)