mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
12 lines
172 B
Go
12 lines
172 B
Go
package main
|
|
|
|
type RequestError string
|
|
|
|
func (e RequestError) Error() string {
|
|
return string(e)
|
|
}
|
|
|
|
func fetch(url string) (string, *RequestError) {
|
|
return "stuff", nil
|
|
}
|