Browse Source
refactor: move from io/ioutil to io and os package
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see https://golang.org/doc/go1.16#ioutil. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>pull/2381/head
Eng Zer Jun
3 years ago
No known key found for this signature in database
GPG Key ID: DAEBBD2E34C111E6
38 changed files with 160 additions and 179 deletions
-
11test/s3/basic/basic_test.go
-
3unmaintained/stress_filer_upload/bench_filer_upload/bench_filer_upload.go
-
5unmaintained/stress_filer_upload/stress_filer_upload_actual/stress_filer_upload.go
-
12weed/command/download.go
-
10weed/command/filer_copy.go
-
7weed/command/scaffold.go
-
7weed/filer/leveldb/leveldb_store_test.go
-
5weed/filer/leveldb2/leveldb2_store_test.go
-
5weed/filer/leveldb3/leveldb3_store_test.go
-
8weed/filer/rocksdb/rocksdb_store_test.go
-
5weed/images/orientation_test.go
-
5weed/images/resizing_test.go
-
5weed/operation/chunked_file.go
-
5weed/operation/upload_content.go
-
12weed/remote_storage/azure/azure_storage_client.go
-
12weed/remote_storage/gcs/gcs_storage_client.go
-
6weed/replication/sub/notification_kafka.go
-
9weed/s3api/auth_credentials.go
-
13weed/s3api/auth_signature_v4.go
-
8weed/s3api/auto_signature_v4_test.go
-
10weed/s3api/s3api_object_handlers.go
-
16weed/s3api/s3api_object_handlers_postpolicy.go
-
8weed/s3api/s3api_object_tagging_handlers.go
-
16weed/security/tls.go
-
5weed/server/filer_server_handlers_write_upload.go
-
7weed/server/volume_grpc_copy.go
-
9weed/server/volume_grpc_erasure_coding.go
-
9weed/shell/command_volume_fsck.go
-
31weed/storage/disk_location.go
-
13weed/storage/disk_location_ec.go
-
5weed/storage/needle/needle_parse_upload.go
-
3weed/storage/needle/needle_read_write_test.go
-
4weed/storage/needle_map_metric_test.go
-
11weed/storage/volume_info/volume_info.go
-
5weed/storage/volume_vacuum_test.go
-
10weed/storage/volume_write_test.go
-
3weed/util/chunk_cache/chunk_cache_on_disk_test.go
-
15weed/util/http_util.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue