☰
Debian Codegraph
@
2:0.22.0+ds-2
2:0.22.0+ds-1
/
/
go
/
ssa
/
interp
/
testdata
/
src
/
errors
/
errors.go
☽
☼
go/ssa/interp/testdata/src/errors/errors.go
code
plain
raw
symbols
SCIP
BSD-3-clause
2009 The Go Authors
debian/copyright
1
package
errors
2
3
func
New(text
string
)
error
{
return
errorString
{text} }
4
5
type
errorString
struct
{
s
string
}
6
7
func
(e
errorString
)
Error
()
string
{
return
e.
s
}