Lines Matching refs:interface
9 func assertptr(x interface{}) *int {
13 func assertptr2(x interface{}) (*int, bool) {
18 func assertfunc(x interface{}) func() {
22 func assertfunc2(x interface{}) (func(), bool) {
27 func assertstruct(x interface{}) struct{ *int } {
31 func assertstruct2(x interface{}) (struct{ *int }, bool) {
36 func assertbig(x interface{}) complex128 {
40 func assertbig2(x interface{}) (complex128, bool) {
45 func assertbig2ok(x interface{}) (complex128, bool) {
50 func assertslice(x interface{}) []int {
54 func assertslice2(x interface{}) ([]int, bool) {
59 func assertslice2ok(x interface{}) ([]int, bool) {
64 type I interface {
68 func assertInter(x interface{}) I {
71 func assertInter2(x interface{}) (I, bool) {