mirror of
https://github.com/xinliangnote/go-gin-api.git
synced 2024-04-21 12:31:46 +00:00
9 lines
200 B
Bash
Executable File
9 lines
200 B
Bash
Executable File
#!/bin/bash
|
|
printf "\nRegenerating handler file\n\n"
|
|
time go run -v ./cmd/handlergen/main.go -handler $1
|
|
|
|
printf "\nFormatting code\n\n"
|
|
time go run -v github.com/koketama/mfmt
|
|
|
|
printf "\nDone.\n\n"
|