Commit Graph

4 Commits (808a7803098bd86c83185cb823c5b0e2a5b2c56d)

Author SHA1 Message Date
6543 54e9ee37a7
format with gofumpt ()
* gofumpt -w -l .

* gofumpt -w -l -extra .

* Add linter

* manual fix

* change make fmt
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows ()
* go build / format tools
* re-format imports
qwerty287 e5b48dcac4
Hide label comments if labels were added and removed immediately ()
* Hide label comments if labels were added and removed immediately

* Add comment and rename var

* Fix unit test

* Add test case

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Lunny Xiao 1bfb0a24d8
Refactor routers directory ()
* refactor routers directory

* move func used for web and api to common

* make corsHandler a function to prohibit side efects

* rm unused func

Co-authored-by: 6543 <6543@obermui.de>