yumeiyin
d84cc5420b
chore: fix some comments ( #690 )
2024-05-26 20:11:05 +02:00
Cameron Moore
0fa8bbf710
Update GH actions and dependencies ( #681 )
...
* Update go-chi dependency to v5
* Update gofrs/uuid dependency to v5
* Update gorilla/mux dependency to v1.8.1
* Update go-humanize dependency to v1.0.1
* Update mxj dependency to v2.7.0
* Update fsnotify dependency to v1.7.0
* Update Go versions in GH build workflow
* Update gopkg.in/yaml.v2 indirect dependency to v2.4.0
* Bump GH actions
2024-04-13 12:27:49 +02:00
Cameron Moore
3d824b47b7
Rename var to avoid shadowing bytes package
...
importShadow: shadow of imported package 'bytes' (gocritic)
2020-05-28 18:20:07 -05:00
Cameron Moore
cc98de88ce
Fix godoc comment on LogEntry.Panic
2020-05-28 18:17:41 -05:00
Cameron Moore
526c9a20ac
Fix request dumper
...
The existing code had a bug in printing request params. Simplify the
request logger by using httputil.DumpRequest.
Also print the request before handing it downstream.
Fixes #425
2020-05-21 17:47:55 -05:00
Cameron Moore
be815d0a41
Use gorilla/mux for middleware and extend
...
- Use gorilla/mux for middleware.
- Add Dumper, RequestID, and Logger middlewares.
- Add makeURL helper
2019-12-24 11:57:26 -06:00