4 Commits

Author SHA1 Message Date
Gusted
7b7dcf29f7
♻️ Tidy up the codebase (#1613)
* run gofmt

* add t.Helper()

* Simplify assigns

* Simplify make operation

* Remove unused field in struct

* Fix typo

* Run gofumpt ./

* Consistent spacing

* len(...) can never be negative

* Use ReplaceAll

* Simplify operation

* Remove deadcode

* Fix typo

* Tidy up `} else { if ...`

* Fix AssertEqual

* Remove t.Helper() to fix go1.14.15
2021-11-05 08:00:03 +01:00
kiyon
db10fd233e 👷 set cors's default values 2020-09-16 15:45:59 +08:00
kiyon
4f808a0aa4 👷 improve cors mw test cases 2020-09-16 10:11:48 +08:00
Fenny
ec5d66e7a8 v2 2020-09-13 11:20:11 +02:00