(s string)
| 1986 | } |
| 1987 | |
| 1988 | func looksBinary(s string) bool { |
| 1989 | if !utf8.ValidString(s) { |
| 1990 | return true |
| 1991 | } |
| 1992 | for i := 0; i < len(s); i++ { |
| 1993 | if s[i] == 0 { |
| 1994 | return true |
| 1995 | } |
| 1996 | } |
| 1997 | return false |
| 1998 | } |
| 1999 | |
| 2000 | // updateTemplateValuesFromHTTPResp checks the HTTP response body and the previous |
| 2001 | // templatized response body and updates the template values that are currently held |
no outgoing calls
no test coverage detected