pat/app/utils.go
Martin Hebnes Pedersen 6ae942e13b Refactor to prepare for hot reloading of config
* Remove singletons
* Split into app, cli and api packages

Ref #6
2025-06-14 07:50:42 +02:00

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 == ';'
}