Skip to content

Commit f3c817b

Browse files
authored
fix: staticcheck unused function warning (#4)
1 parent 1211977 commit f3c817b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

jsonata-test/main.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package main
22

33
import (
44
"encoding/json"
5-
"errors"
65
"flag"
76
"fmt"
87
"io"
@@ -323,16 +322,6 @@ func equalResults(x, y interface{}) bool {
323322
return false
324323
}
325324

326-
var errTodo = errors.New("TODO")
327-
328-
func convertError(code string) error {
329-
if code == "" {
330-
return nil
331-
}
332-
333-
return errTodo
334-
}
335-
336325
func readJSONFile(path string, dest interface{}) error {
337326
b, err := ioutil.ReadFile(path)
338327
if err != nil {

0 commit comments

Comments
 (0)