Just copy "bufio.ScanWords" as "ScanTokens".