aboutsummaryrefslogtreecommitdiffstats
path: root/modules/charset/escape_stream.go
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-12-08 09:21:37 +0100
committerGitHub <noreply@github.com>2022-12-08 16:21:37 +0800
commit0585ac3ac6ff4f59e8455cb5f4cbe42c4b79c965 (patch)
tree4af0fa56e13f9a2008a7d34b2fc776c5373868af /modules/charset/escape_stream.go
parentcf27403e189f674d9a1e02cb71bc1ac13a5ba23d (diff)
downloadgitea-0585ac3ac6ff4f59e8455cb5f4cbe42c4b79c965.tar.gz
gitea-0585ac3ac6ff4f59e8455cb5f4cbe42c4b79c965.zip
Update go dev dependencies (#22064)
`golangci-lint` [deprecated](https://github.com/golangci/golangci-lint/issues/1841) a bunch of linters, removed them.
Diffstat (limited to 'modules/charset/escape_stream.go')
-rw-r--r--modules/charset/escape_stream.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/charset/escape_stream.go b/modules/charset/escape_stream.go
index d29e393ab4..823b635137 100644
--- a/modules/charset/escape_stream.go
+++ b/modules/charset/escape_stream.go
@@ -239,7 +239,7 @@ func (counts runeCountType) needsEscape() bool {
type runeType int
const (
- basicASCIIRuneType runeType = iota //nolint // <- This is technically deadcode but its self-documenting so it should stay
+ basicASCIIRuneType runeType = iota // <- This is technically deadcode but its self-documenting so it should stay
brokenRuneType
nonBasicASCIIRuneType
ambiguousRuneType