X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=cmd%2Fmeta4-create%2Fmain.go;h=0d54569e88490ca1951abb2d63f944332f56fe56;hb=e2c997c433b76976d9f267a24d191daa6b324bfe;hp=f11fa70754b1f7be6c0ee19ee92909fc4519318b;hpb=f48ccbb9e20e7fb0fe383e82cd041a94d449b497;p=meta4ra.git diff --git a/cmd/meta4-create/main.go b/cmd/meta4-create/main.go index f11fa70..0d54569 100644 --- a/cmd/meta4-create/main.go +++ b/cmd/meta4-create/main.go @@ -1,6 +1,6 @@ /* meta4a -- Metalink 4.0 creator -Copyright (C) 2021 Sergey Matveev +Copyright (C) 2021-2023 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,7 +26,6 @@ import ( "encoding/xml" "flag" "io" - "io/ioutil" "log" "os" "path/filepath" @@ -75,7 +74,7 @@ func main() { }, } if *sig != "" { - sigData, err := ioutil.ReadFile(*sig) + sigData, err := os.ReadFile(*sig) if err != nil { log.Fatalln(err) }