Fixed location of pre tap permission files (#852)

This commit is contained in:
RoyUP9
2022-02-24 16:46:51 +02:00
committed by GitHub
parent c5a36a494a
commit d8c0132a98
9 changed files with 10 additions and 25 deletions

View File

@@ -1,20 +0,0 @@
package shared
import (
"io/ioutil"
"os"
)
func ReadFromFile(path string) ([]byte, error) {
reader, err := os.Open(path)
if err != nil {
return nil, err
}
data, err := ioutil.ReadAll(reader)
if err != nil {
return nil, err
}
return data, nil
}