Debian Codegraph @

_test/struct36.go

raw symbols SCIP
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