mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-12 21:05:53 +02:00
9 lines
139 B
Go
9 lines
139 B
Go
//go:build windows
|
|
|
|
package fileacquisition
|
|
|
|
import "strings"
|
|
|
|
func trimLine(text string) string {
|
|
return strings.TrimRight(text, "\r")
|
|
}
|