tiny-url-ex/README.md

23 lines
631 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**
2018-09-28 14:19:39 +00:00
- If you want the *controller* folder different than `controller` define it with `-c`
2018-07-07 21:44:42 +00:00
- 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
```
2018-09-28 14:19:39 +00:00
$ go run ./main.go
```