mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #1127] [MERGED] add Sprig functions to go templates #1517
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1517
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/1127
Author: @wunter8
Created: 6/3/2024
Status: ✅ Merged
Merged: 7/21/2025
Merged by: @binwiederhier
Base:
main← Head:go-templates-functions📝 Commits (2)
1f2c76ecopy subset of Sprig template functions650f492make tests happy📊 Changes
52 files changed (+5369 additions, -4 deletions)
View changed files
📝
README.md(+1 -0)📝
docs/publish.md(+4 -1)📝
docs/releases.md(+1 -0)➕
docs/sprig.md(+24 -0)➕
docs/sprig/conversion.md(+36 -0)➕
docs/sprig/crypto.md(+41 -0)➕
docs/sprig/date.md(+126 -0)➕
docs/sprig/defaults.md(+169 -0)➕
docs/sprig/dicts.md(+172 -0)➕
docs/sprig/encoding.md(+6 -0)➕
docs/sprig/flow_control.md(+11 -0)➕
docs/sprig/integer_slice.md(+41 -0)➕
docs/sprig/lists.md(+188 -0)➕
docs/sprig/math.md(+78 -0)➕
docs/sprig/paths.md(+114 -0)➕
docs/sprig/reflection.md(+50 -0)➕
docs/sprig/string_slice.md(+72 -0)➕
docs/sprig/strings.md(+309 -0)➕
docs/sprig/url.md(+33 -0)➕
docs/sprig/uuid.md(+9 -0)...and 32 more files
📄 Description
fixes #1121
Sprig is the library used on https://repeatit.ioThis now uses the Slim-Sprig fork of Sprig to avoid all the additional dependencies that Sprig requiresI have merged a subset of Sprig with the ntfy code base.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.