forgejo/modules/util
sillyguodong 16696a42f5
Add API for Variables (#29520)
close #27801

---------

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 62b073e6f31645e446c7e8d6b5a506f61b47924e)

Conflicts:
	- modules/util/util.go
          Trivial resolution, only picking the newly introduced function
	- routers/api/v1/swagger/options.go
          Trivial resolution. We don't have UserBadges, don't pick that part.
	- templates/swagger/v1_json.tmpl
          Regenerated.
2024-04-07 10:57:53 +02:00
..
filebuffer Add io.Closer guidelines (#29387) 2024-02-26 22:30:27 +01:00
rotatingfilewriter
color.go
color_test.go
error.go
file_unix.go
file_unix_test.go
file_windows.go
io.go Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2023-06-13 09:02:25 +00:00
io_test.go
keypair.go
keypair_test.go
legacy.go
legacy_test.go
pack.go
pack_test.go
paginate.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
paginate_test.go
path.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
path_test.go
remove.go
sanitize.go
sanitize_test.go
sec_to_time.go
sec_to_time_test.go
shellquote.go
shellquote_test.go
slice.go Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
slice_test.go
string.go Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
string_test.go
timer.go
timer_test.go
truncate.go
truncate_test.go
url.go
util.go Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00
util_test.go Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00