PR https://github.com/go-gitea/gitea/pull/18506
And create a function to factorize a code snippet that is repeated five times and would otherwise be more difficult to test and maintain consistently.
Signed-off-by: Loïc Dachary loic@dachary.org
PR https://github.com/go-gitea/gitea/pull/18506
And create a function to factorize a code snippet that is repeated five times and would otherwise be more difficult to test and maintain consistently.
Signed-off-by: Loïc Dachary loic@dachary.org