File: doc.go

package info (click to toggle)
golang-forgejo-forgejo-reply 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 604 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 729 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Package reply package is essentially a source code conversion
// of the ruby library https://github.com/discourse/email_reply_trimmer.
// The core logic is a almost line by line conversion.
//
// This package has a dependency on excellent regex library github.com/dlclark/regexp2.
// The reason for not using the standard regex library was due to the fact that
// the regex package from the stdlib is not compatible with the library from the Ruby stdlib.
//
// All the tests were taken from the email_reply_trimmer library.
//
// Note:
// This code is not idiomatic go code, as, it was mostly adapted from the ruby code,
// however, the public APIs were kept simple as possible and does not expose any internal.
package reply