HasNoSpaces checks if a string contains no spaces
(s string)
| 27 | |
| 28 | // HasNoSpaces checks if a string contains no spaces |
| 29 | func HasNoSpaces(s string) bool { |
| 30 | return !strings.Contains(s, " ") |
| 31 | } |
| 32 | |
| 33 | // extractTemplateVariables extracts template variables from a URL string |
| 34 | // e.g., "http://{host}:{port}/mcp" returns ["host", "port"] |
no outgoing calls
no test coverage detected
searching dependent graphs…