utils

package
v0.0.0-...-75fe9c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendEmail

func SendEmail(memory models.Memory)

SendEmail sends a "New Monument memory submitted" email along with an approval link. The email is sent to the recipients defined in the MONUMENT_ADMIN_EMAIL environment variable. If any mail-related environment variable is not set, no email is sent.

func Tweet

func Tweet(memory models.Memory)

Tweet tweets out the title of the given memory along with a link to the memory's details page. If any Twitter-related environment variables are not set, no tweet is attempted.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL