1
0
mirror of https://github.com/go-acme/lego.git synced 2025-11-28 16:49:59 +02:00

chore: update Go (#1469)

This commit is contained in:
Ludovic Fernandez
2021-08-25 11:44:11 +02:00
committed by GitHub
parent bc8ff4a192
commit dc2b19e1b1
98 changed files with 210 additions and 243 deletions

View File

@@ -4,7 +4,6 @@ import (
"crypto/x509"
"encoding/pem"
"fmt"
"io/ioutil"
"os"
"strings"
"time"
@@ -98,7 +97,7 @@ func createNonExistingFolder(path string) error {
}
func readCSRFile(filename string) (*x509.CertificateRequest, error) {
bytes, err := ioutil.ReadFile(filename)
bytes, err := os.ReadFile(filename)
if err != nil {
return nil, err
}