diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-05 15:16:26 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-05 15:29:23 -0800 |
commit | 2984a715b830410b6d6ce2a8aaa1fc8a2388ee99 (patch) | |
tree | 09dc00606931885e8b345791cd1a301335dd494c /utils/quote_str.go | |
parent | d86746bb0ddcb7dcfc6225f9fe37f6034c958913 (diff) | |
download | phoneof-2984a715b830410b6d6ce2a8aaa1fc8a2388ee99.tar.gz phoneof-2984a715b830410b6d6ce2a8aaa1fc8a2388ee99.zip |
add ntfy integration
Diffstat (limited to 'utils/quote_str.go')
-rw-r--r-- | utils/quote_str.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/quote_str.go b/utils/quote_str.go new file mode 100644 index 0000000..acff5a2 --- /dev/null +++ b/utils/quote_str.go @@ -0,0 +1,7 @@ +package utils + +import "strings" + +func Quote(s string) string { + return strings.Replace(s, `"`, `\"`, -1) +} |