You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang 36c0840cf1
Merge template functions "dict/Dict/mergeinto" (#23932)
One of the steps in #23328


Before there were 3 different but similar functions: dict/Dict/mergeinto

The code was just copied & pasted, no test.

This PR defines a new stable `dict` function, it covers all the 3 old
functions behaviors, only +160 -171


Future developers do not need to think about or guess the different dict
functions, just use one: `dict`

Why use `dict` but not `Dict`? Because there are far more `dict` than
`Dict` in code already ......
1 year ago
..
filebuffer Implement FSFE REUSE for golang files (#21840) 2 years ago
error.go Use ErrInvalidArgument in packages (#22268) 2 years ago
file_unix.go Implement FSFE REUSE for golang files (#21840) 2 years ago
file_unix_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
file_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago
io.go Improve checkIfPRContentChanged (#22611) 1 year ago
keypair.go Add Chef package registry (#22554) 1 year ago
keypair_test.go Use minio/sha256-simd for accelerated SHA256 (#23052) 1 year ago
legacy.go Implement FSFE REUSE for golang files (#21840) 2 years ago
legacy_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
pack.go Add support for incoming emails (#22056) 1 year ago
pack_test.go Add support for incoming emails (#22056) 1 year ago
paginate.go Implement FSFE REUSE for golang files (#21840) 2 years ago
paginate_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
path.go Introduce path Clean/Join helper functions (#23495) 1 year ago
path_test.go Introduce path Clean/Join helper functions (#23495) 1 year ago
remove.go Implement FSFE REUSE for golang files (#21840) 2 years ago
sanitize.go Implement FSFE REUSE for golang files (#21840) 2 years ago
sanitize_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
sec_to_time.go Implement FSFE REUSE for golang files (#21840) 2 years ago
sec_to_time_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
shellquote.go Implement FSFE REUSE for golang files (#21840) 2 years ago
shellquote_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
slice.go Improve utils of slices (#22379) 2 years ago
slice_test.go Improve utils of slices (#22379) 2 years ago
string.go Implement FSFE REUSE for golang files (#21840) 2 years ago
string_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
timer.go Implement FSFE REUSE for golang files (#21840) 2 years ago
truncate.go Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 1 year ago
truncate_test.go Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 1 year ago
url.go Implement FSFE REUSE for golang files (#21840) 2 years ago
util.go Merge template functions "dict/Dict/mergeinto" (#23932) 1 year ago
util_test.go Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 1 year ago