0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:24:55 +01:00
gitea/modules
Gusted c98dd7a3e0
Remove unnecessary variable assignments (#17695)
* Remove unnecessary variable assignments

As title

* enable ineffassign

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2021-11-18 09:33:06 +08:00
..
activitypub Create pub/priv keypair for federation (#17071) 2021-09-28 15:19:22 -04:00
analyze Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 2021-09-09 21:13:36 +01:00
appstate Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
auth Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
avatar refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
base
cache Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
charset Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
context Fixed commit count. (#17698) 2021-11-17 23:50:17 +00:00
convert A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
csv Properly determine CSV delimiter (#17459) 2021-10-30 23:50:40 +08:00
doctor A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
emoji
eventsource Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
generate
git Add .gitattribute assisted language detection to blame, diff and render (#17590) 2021-11-17 20:37:00 +00:00
gitgraph Remove unnecessary variable assignments (#17695) 2021-11-18 09:33:06 +08:00
graceful Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
hcaptcha
highlight Add .gitattribute assisted language detection to blame, diff and render (#17590) 2021-11-17 20:37:00 +00:00
hostmatcher Only allow webhook to send requests to allowed hosts (#17482) 2021-11-01 16:39:52 +08:00
httpcache Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
httplib refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
indexer Add .gitattribute assisted language detection to blame, diff and render (#17590) 2021-11-17 20:37:00 +00:00
json Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
lfs Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
log A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
markup A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
matchlist
metrics Add metrics to get issues by repository (#17225) 2021-10-05 20:39:37 +02:00
migration Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
nosql Remove unnecessary variable assignments (#17695) 2021-11-18 09:33:06 +08:00
notification A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
options refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
password
pprof refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
private refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
process
proxy Return nil proxy function if proxy not enabled (#16742) 2021-08-19 16:41:20 -04:00
public refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
queue A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
recaptcha refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
references
repofiles Add .gitattribute assisted language detection to blame, diff and render (#17590) 2021-11-17 20:37:00 +00:00
repository Move some functions into services/repository (#17677) 2021-11-17 23:17:31 +08:00
secret
session Move session to models/login (#17338) 2021-10-17 19:51:56 +01:00
setting A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
ssh Fix ipv6 parsing for builtin ssh server (#17561) 2021-11-06 14:23:32 +08:00
storage refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
structs Add migration from GitBucket (#16767) 2021-11-14 20:11:10 +01:00
svg refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
sync
task Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
templates Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
test Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
timeutil Allow mocking timeutil (#17354) 2021-10-18 21:12:26 +01:00
translation
typesniffer Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
updatechecker Refactor update checker to use AppState (#17387) 2021-10-21 17:10:49 +01:00
upload Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
uri
user
util Only allow webhook to send requests to allowed hosts (#17482) 2021-11-01 16:39:52 +08:00
validation Upgrade chi to v5 (#17298) 2021-10-13 22:50:23 -04:00
web Remove unnecessary variable assignments (#17695) 2021-11-18 09:33:06 +08:00