tiny-url-ex/README.md

23 lines
634 B
Markdown
Raw Normal View History

# xdrm go framework
### 1. Setup
All commands above must be launched from the root of this repository.
2018-07-07 21:44:42 +00:00
### 2. Build type checkers, controllers, middlewares
2018-07-07 21:44:42 +00:00
Type checkers, controllers and middlewares have to be built before using them. A build command exists for that purpose.
```bash
2018-07-07 21:44:42 +00:00
aicra [options] .
```
2018-07-07 21:44:42 +00:00
**Options**
- If you want the *controller* folder different than `root` define it with `-c`
- If you want the *middleware* folder different than `middleware` define it with `-m`
- If you want the *type checker* folder different than `types` define it with `-t`
2018-07-07 21:44:42 +00:00
### 3. Launch the api
```
$ go run ./cmd/test/main.go
```