(stmt []byte)
| 850 | } |
| 851 | |
| 852 | func validateOutputTagValue(stmt []byte) error { |
| 853 | exprStr := string(stmt) |
| 854 | _, err := goparser.ParseExpr(exprStr) |
| 855 | return err |
| 856 | } |
| 857 | |
| 858 | func validateForStmt(stmt []byte) error { |
| 859 | exprStr := fmt.Sprintf("func () { for %s {} }", stmt) |
no outgoing calls
no test coverage detected
searching dependent graphs…