utils.go 288 B

1234567891011
  1. // Copyright 2016 Martin Hebnes Pedersen (LA5NTA). All rights reserved.
  2. // Use of this source code is governed by the MIT-license that can be
  3. // found in the LICENSE file.
  4. package main
  5. import "unicode"
  6. func SplitFunc(c rune) bool {
  7. return unicode.IsSpace(c) || c == ',' || c == ';'
  8. }