From 1fc5dc884cd9dc56f665cd0c9ed4b0bdfb794874 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Mon, 27 Nov 2023 06:47:07 -0800 Subject: [PATCH] initial commits --- consts.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 consts.go diff --git a/consts.go b/consts.go new file mode 100644 index 0000000..a9c9292 --- /dev/null +++ b/consts.go @@ -0,0 +1,16 @@ +package eol + +const ( + lf = '\u000A' + cr = '\u000D' + nl = '\u0085' + ls = '\u2028' +) + +const ( + LF = string(lf) + CR = string(cr) + CRLF = CR+LF + NL = string(nl) + LS = string(ls) +)