Debian Codegraph @

pkg/format/urlpart_string.go

raw symbols SCIP
1 // Code generated by "stringer -type=URLPart -trimprefix URL"; DO NOT EDIT.
2
3 package formatscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/
4
5 import "strconvscip-go gomod github.com/golang/go/src . strconv/"
6
7 func _() {
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
10 var x [1]struct{}
11 _ = x[URLQueryscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLQuery.-0]
12 _ = x[URLUserscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLUser.-1]
13 _ = x[URLPasswordscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLPassword.-2]
14 _ = x[URLHostscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLHost.-3]
15 _ = x[URLPortscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLPort.-4]
16 _ = x[URLPathscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLPath.-5]
17 }
18
19 const _URLPart_namescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/_URLPart_name. = "QueryUserPasswordHostPortPath"
20
21 var _URLPart_indexscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/_URLPart_index. = [...]uint8{0, 5, 9, 17, 21, 25, 29}
22
23 func (i URLPartscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLPart#) Stringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLPart#String().() string {
24 if i < 0 || i >= URLPartscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/URLPart#(len(_URLPart_indexscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/_URLPart_index.)-1) {
25 return "URLPart(" + strconvscip-go gomod github.com/golang/go/src . strconv/.FormatIntscip-go gomod github.com/golang/go/src . strconv/FormatInt().(int64(i), 10) + ")"
26 }
27 return _URLPart_namescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/_URLPart_name.[_URLPart_indexscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/_URLPart_index.[i]:_URLPart_indexscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/_URLPart_index.[i+1]]
28 }