16 Commits

Author SHA1 Message Date
7a1b655074 fix: sonic on arm64 (#4234) 2025-05-11 22:34:09 +08:00
71496abe68 feat(fs): Implement loading HTML from http.FileSystem (#4053)
* Implement loading HTML from http.FileSystem

* Add OnlyHTMLFS test

* Move OnlyHTMLFS to internal and add test
2025-04-21 00:11:16 +08:00
1b53a47790 docs: Fixing English grammar mistakes and awkward sentence structure in doc/doc.md (#4207)
* docs: Fixing grammar mistakes and awkward sentences, such as modeling
binding section

* Update doc.md

Missed grammar mistake
2025-04-11 23:59:03 +08:00
4ccfa7c275 feat(binding): add support for unixMilli and unixMicro (#4190) 2025-03-20 23:33:10 +08:00
299c6f30e3 docs: trimmed some white spaces (#4070) 2024-10-25 09:16:40 +08:00
f05f966a08 feat(form): Support default values for collections in form binding (#4048) 2024-09-21 23:24:18 +08:00
f2c861a24f docs: fix route group example code (#4020) 2024-09-15 08:54:23 +08:00
3cb30679b5 feat(form): add array collection format in form binding (#3986)
* feat(form): add array collection format in form binding

* feat(form): add array collection format in form binding

* test(form): fix test code for array collection format in form binding
2024-08-24 14:16:30 +08:00
9c081de9cd docs: fix typo in Gin Quick Start (#3997) 2024-06-16 00:28:08 +08:00
a18219566c feat(binding): Support custom BindUnmarshaler for binding. (#3933) 2024-05-07 09:43:15 +08:00
7a865dcf1d feat(bind): ShouldBindBodyWith shortcut and change doc (#3871)
* feat: ShouldBindBodyWith shortcut and change doc

* fix: yaml can parse json test case

* style: fix new test case in context_test.go

* chore: modify the code style to specify binding type

* chroe: gofmt modifies the code format
2024-03-23 22:09:02 +08:00
bb3519d26f chore(IP): add TrustedPlatform constant for Fly.io. (#3839)
Also add some more detail to the docs for how to use TrustedPlatform.

https://fly.io/docs/reference/runtime-environment/#fly-client-ip
2024-02-07 20:18:53 +08:00
c6ae2e6966 feat(logger): ability to skip logs based on user-defined logic (#3593)
* log skipper

* do not call time.now() if logging should be skipped

* do not ignore skip func delay in latency calculation

* write docs

* write test
2024-02-02 09:52:26 +08:00
1e1f0b1e76 chore: support min go version 1.18 (#3511)
* chore: min go version 1.18

* fix build tag error

* remove build tag

* fix word

* remove any.go

* replace interface{} instead of any
2023-03-01 10:03:48 +08:00
c58e0d59ca docs: update markdown format (#3446)
* docs: update markdown format

* fix: resolve conflict

* docs: update markdown format

* docs: update

* docs: update

* Revert "docs: update"

This reverts commit 82716193b753dbcad6fee85973790727b7a31ae5.
2023-01-05 10:15:29 +08:00
82e1c53cc0 docs(readme): move more example to docs/doc.md (#3449) 2023-01-02 10:40:25 +08:00