minio/internal/crypto
Harshavardhana 661b263e77
add gocritic/ruleguard checks back again, cleanup code. (#13665)
- remove some duplicated code
- reported a bug, separately fixed in #13664
- using strings.ReplaceAll() when needed
- using filepath.ToSlash() use when needed
- remove all non-Go style comments from the codebase

Co-authored-by: Aditya Manthramurthy <donatello@users.noreply.github.com>
2021-11-16 09:28:29 -08:00
..
auto-encryption.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
doc.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
error.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
header.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
header_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
key.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
key_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
metadata.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
metadata_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
sse-c.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
sse-kms.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
sse-s3.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
sse.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
sse_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00