mirror of
https://github.com/safing/portbase
synced 2025-09-14 00:59:53 +00:00
FIx linter errors
This commit is contained in:
parent
3c697abd5b
commit
412b4242c2
21 changed files with 39 additions and 57 deletions
|
@ -4,7 +4,6 @@ package utils
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
@ -23,7 +22,7 @@ func ExampleDirStructure() {
|
|||
// /repo/b/d/f/g/h [707]
|
||||
// /secret [700]
|
||||
|
||||
basePath, err := ioutil.TempDir("", "")
|
||||
basePath, err := os.MkdirTemp("", "")
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue