☰
Debian Codegraph
@
1.1.73-1
1.1.72-1
/
/
rr_test.go
☽
☼
rr_test.go
code
plain
raw
symbols
SCIP
BSD-3-Clause
2014 CloudFlare; 2011 Miek Gieben <
[email protected]
>; 2009 The Go Authors
debian/copyright
1
package
dns
2
3
// testRR is a helper that wraps a call to NewRR and panics if the error is non-nil.
4
func
testRR
(
s
string)
RR
{
5
r
,
err
:=
NewRR
(
s
)
6
if
err
!= nil {
7
panic(
err
)
8
}
9
10
return
r
11
}