/*
meta4a -- Metalink 4.0 creator
-Copyright (C) 2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2021-2023 Sergey Matveev <stargrave@stargrave.org>
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
"encoding/xml"
"flag"
"io"
- "io/ioutil"
"log"
"os"
"path/filepath"
},
}
if *sig != "" {
- sigData, err := ioutil.ReadFile(*sig)
+ sigData, err := os.ReadFile(*sig)
if err != nil {
log.Fatalln(err)
}