This commit fixes the following warning by staticcheck
aws_signing_helper/serve.go:141:20: should use time.Until instead of t.Sub(time.Now()) (S1024)
aws_signing_helper/signer_test.go:15:2: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
cmd/aws_signing_helper/main.go:11:2: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
This commit fixes the following warning by staticcheck
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.