Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/internal/utils/svg/README.md')
-rw-r--r--workhorse/internal/utils/svg/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/workhorse/internal/utils/svg/README.md b/workhorse/internal/utils/svg/README.md
index e5531f47473..4057316927c 100644
--- a/workhorse/internal/utils/svg/README.md
+++ b/workhorse/internal/utils/svg/README.md
@@ -15,13 +15,13 @@ package main
import (
"fmt"
- "io/ioutil"
+ "os"
svg "github.com/h2non/go-is-svg"
)
func main() {
- buf, err := ioutil.ReadFile("_example/example.svg")
+ buf, err := os.ReadFile("_example/example.svg")
if err != nil {
fmt.Printf("Error: %s\n", err)
return