Files
tele-proc/parser/plan.go
T

17 lines
219 B
Go
Raw Normal View History

2021-01-04 15:33:33 +08:00
package parser
import "strings"
const (
TypePLN = "PLN"
)
func isPln(telegram Telegram) bool {
for _, value := range telegram.Fields {
if strings.HasPrefix(value, TypePLN) {
return true
}
}
return false
}