summaryrefslogtreecommitdiff
path: root/sd_id128/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'sd_id128/util.go')
-rw-r--r--sd_id128/util.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/sd_id128/util.go b/sd_id128/util.go
index ae50008..77c6079 100644
--- a/sd_id128/util.go
+++ b/sd_id128/util.go
@@ -14,11 +14,6 @@
package sd_id128
-import (
- "io/ioutil"
- "os"
-)
-
func hexchar(x byte) byte {
return "0123456789abcdef"[x&15]
}
@@ -33,13 +28,3 @@ func unhexchar(c byte) (byte, error) {
}
return 0, ErrInvalid
}
-
-func readfile(filename string) (string, error) {
- file, err := os.Open(filename)
- if err != nil {
- return "", err
- }
- defer file.Close()
- b, err := ioutil.ReadAll(file)
- return string(b), err
-}