0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-14 10:08:30 -05:00
forgejo/modules/util
Gusted 443f7d59f9 chore: teach set module about iter.Seq (#6676)
- Add a new `Seq` function to the `Set` type, this returns an iterator over the values.
- Convert some users of the `Values` method to allow for more optimal code.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6676
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-01-24 16:45:46 +00:00
..
filebuffer Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
rotatingfilewriter Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
color.go
color_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
error.go
file_unix.go
file_unix_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
io.go
io_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
keypair.go Enable unparam linter (#31277) 2024-06-16 13:42:58 +02:00
keypair_test.go test: fix test linting 2024-11-11 12:44:36 +01:00
legacy.go
legacy_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
pack.go
pack_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
paginate.go
paginate_test.go
path.go
path_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
remove.go
sanitize.go Refactor to use UnsafeStringToBytes (#31358) 2024-06-16 13:42:58 +02:00
sanitize_test.go
sec_to_time.go
sec_to_time_test.go
shellquote.go
shellquote_test.go
slice.go chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
slice_test.go
string.go Refactor to use UnsafeStringToBytes (#31358) 2024-06-16 13:42:58 +02:00
string_test.go
timer.go
timer_test.go
truncate.go Validate OAuth Redirect URIs (#32643) 2024-12-03 10:19:22 +01:00
truncate_test.go
url.go
util.go [PORT] Refactor tests to prevent from unnecessary preparations (gitea#32398) 2024-11-07 23:02:10 +01:00
util_test.go [PORT] Refactor tests to prevent from unnecessary preparations (gitea#32398) 2024-11-07 23:02:10 +01:00