aa9d86745a
enforce explanation for necessary nolints and fix bugs ( #34883 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Follows up https://github.com/go-gitea/gitea/pull/34851
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-27 21:48:03 +08:00
1f35435b81
Run gopls modernize
on codebase ( #34751 )
...
Recent modernize fixes:
https://github.com/golang/tools/commits/master/gopls/internal/analysis/modernize
2025-06-18 01:48:09 +00:00
61be51e56b
Refactor markup package ( #32399 )
...
To make the markup package easier to maintain:
1. Split some go files into small files
2. Use a shared util.NopCloser, remove duplicate code
3. Remove unused functions
2024-11-04 10:59:50 +00:00
5e6523aa57
Update go dependencies ( #32389 )
2024-10-31 12:05:54 +00:00
1761459ebc
Refactor to use UnsafeStringToBytes ( #31358 )
...
The PR replaces all `goldmark/util.BytesToReadOnlyString` with
`util.UnsafeBytesToString`, `goldmark/util.StringToReadOnlyBytes` with
`util.UnsafeStringToBytes`. This removes one `TODO`.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-06-14 01:26:33 +00:00
e80466f734
Resolve lint for unused parameter and unnecessary type arguments ( #30750 )
...
Resolve all cases for `unused parameter` and `unnecessary type
arguments`
Related: #30729
---------
Co-authored-by: Giteabot <teabot@gitea.io >
2024-04-29 08:47:56 +00:00
71706126b5
Refactor markdown render ( #30139 )
...
Only split the file into small ones (and rename AttentionTypes to
attentionTypes)
2024-03-28 02:26:13 +00:00