Check if a URL exists in the string
(s string)
| 701 | |
| 702 | // Check if a URL exists in the string |
| 703 | func getTextURL(s string) (result []string) { |
| 704 | return xurls.Relaxed().FindAllString(s, -1) |
| 705 | } |
| 706 | |
| 707 | // Set the window size from provided height and width |
| 708 | func resizeWindow(width float32, height float32) { |