isrtfor returns whether the provided expression is a msgp.RTFor[T] pattern.
(t ast.Expr)
| 256 | |
| 257 | // isrtfor returns whether the provided expression is a msgp.RTFor[T] pattern. |
| 258 | func isrtfor(t ast.Expr) bool { return strings.HasPrefix(stringify(t), "msgp.RTFor[") } |
| 259 | |
| 260 | // findRTForInInterface recursively searches for msgp.RTFor[T] patterns within interface types |
| 261 | func findRTForInInterface(iface *ast.InterfaceType) []string { |
no test coverage detected
searching dependent graphs…