Skip to content

Commit ca94881

Browse files
committed
removed useless helper
1 parent 4d03713 commit ca94881

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

client.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,6 @@ func (req *Request) File(filename string, r io.Reader) {
153153
})
154154
}
155155

156-
// IsGraphQLErr gets whether the error is a remote GraphQL
157-
// server error or not.
158-
func IsGraphQLErr(err error) bool {
159-
_, ok := err.(graphErr)
160-
return ok
161-
}
162-
163156
// file represents a file to upload.
164157
type file struct {
165158
Name string

0 commit comments

Comments
 (0)