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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 210 additions and 243 deletions

View file

@ -9,7 +9,6 @@ import (
"fmt"
"go/format"
"io"
"io/ioutil"
"log"
"os"
"path/filepath"
@ -201,7 +200,7 @@ func generateReadMe(models *Providers) error {
return errors.New("missing end tag")
}
return ioutil.WriteFile(readmePath, buffer.Bytes(), 0o666)
return os.WriteFile(readmePath, buffer.Bytes(), 0o666)
}
func extractTableData(models *Providers) (int, [][]string) {