mirror of
https://github.com/la5nta/pat
synced 2026-08-07 22:32:06 -04:00
13 lines
292 B
Go
13 lines
292 B
Go
// Copyright 2016 Martin Hebnes Pedersen (LA5NTA). All rights reserved.
|
|
// Use of this source code is governed by the MIT-license that can be
|
|
// found in the LICENSE file.
|
|
|
|
package app
|
|
|
|
import (
|
|
"unicode"
|
|
)
|
|
|
|
func SplitFunc(c rune) bool {
|
|
return unicode.IsSpace(c) || c == ',' || c == ';'
|
|
}
|