1
0
Fork 0

Add simplify fmt

pull/1/head
Ambrose Chua 2020-10-31 01:22:34 +08:00
parent 14032d3dad
commit 9fecd1d217
3 changed files with 4 additions and 5 deletions

View File

@ -43,7 +43,7 @@ jobs:
git config --local user.name "GitHub Action"
- name: Format code
run: go fmt
run: gofmt -l -w -s .
- name: Commit and push changes
id: commit-dockerfiles

View File

@ -80,7 +80,3 @@ func index(w http.ResponseWriter, req *http.Request) {
}

View File

@ -113,3 +113,6 @@ func normalizeName(name string) string {
func splitNames(names string) []string {
return strings.Split(names, ",")
}