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) +)