☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
struct36.go
☽
☼
_test/struct36.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
import
(
4
"net/http"
5
"strings"
6
)
7
8
type
S
struct
{
9
http.
Client
10
}
11
12
func
main() {
13
var
s
S
14
if
_, err := s.
Get
(
"url"
); err !=
nil
{
15
println(strings.
Contains
(err.
Error
(),
"unsupported protocol scheme"
))
16
}
17
return
18
}
19
20
// Output:
21
// true