Closed NeetishPathak closed 1 year ago
Changes
Updating deprecated methods ioutil.ReadFile,ioutil.ReadAll and ioutil.WriteFile to os.ReadFile,io.ReadAll and os.WriteFile respectively
Using err.Error() to get Error String
Using errors.Is with the appropriate error type
Remove bad nil guard
use net.JoinHostPort instead of fmt.Sprintf(, ) - best practice
Cleanup certs_test.go
the motivation for the change - are to include best practices and fix security recommendations
Changes
Updating deprecated methods ioutil.ReadFile,ioutil.ReadAll and ioutil.WriteFile to os.ReadFile,io.ReadAll and os.WriteFile respectively
Using err.Error() to get Error String
Using errors.Is with the appropriate error type
Remove bad nil guard
use net.JoinHostPort instead of fmt.Sprintf(, ) - best practice
Cleanup certs_test.go
the motivation for the change - are to include best practices and fix security recommendations