Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathnogueira/wire-poc
https://github.com/mathnogueira/wire-poc
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mathnogueira/wire-poc
- Owner: mathnogueira
- Created: 2024-02-28T19:44:15.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-28T19:56:09.000Z (11 months ago)
- Last Synced: 2024-11-01T21:04:12.723Z (2 months ago)
- Language: Go
- Size: 5.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prof of concept
Making it possible to have the same codebase, but injecting different behaviors depending on build tags.
## How to build
> make sure you have google wire cmd installed```
make wire
```### To build the free version:
```
go build -tags free
```### To build the pro version:
```
go build -tags free
```## How to run
```
./ioc
```## Features
### Free
* endpoint running on port `8000` that says `Hello, Jordan`## Pro
* endpoint running on port `8000` that says `Hello, Premium Jordan`
* new endpoint `https://localhost:8000/hey`