From ac7d8b7e830b369a3dce2e9ff1dae9add427c88b Mon Sep 17 00:00:00 2001 From: Techno Freak Date: Tue, 13 Feb 2024 22:36:34 +0300 Subject: [PATCH] chore: add docs Signed-off-by: Techno Freak --- docs/notifications.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/notifications.md b/docs/notifications.md index 2f60eb9cc6..bd4a61a530 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -95,3 +95,5 @@ templating. | join | sep string, s []string | [strings.Join](http://golang.org/pkg/strings/#Join), concatenates the elements of s to create a single string. The separator string sep is placed between elements in the resulting string. (note: argument order inverted for easier pipelining in templates.) | | safeHtml | text string | [html/template.HTML](https://golang.org/pkg/html/template/#HTML), Marks string as HTML not requiring auto-escaping. | | stringSlice | ...string | Returns the passed strings as a slice of strings. | +| since | time.Time | [time.Duration](https://pkg.go.dev/time#Since), returns the duration of how much time passed from the provided time till the current system time. | +| humanizeDuration | number or string | Returns a human-readable string representing the duration, and the error if it happened. | \ No newline at end of file