utils

package
v0.0.0-...-b3031ee Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Sender
	Sender = "Blueprint <noreply@hackmit.org>"

	// The subject line for the email.
	Subject = "Blueprint Playground Confirmation"

	// The character encoding for the email.
	CharSet = "UTF-8"

	ReplyTo = "blueprint@hackmit.org"
)

Variables

This section is empty.

Functions

func Bind

func Bind(data map[string]string, ptr interface{}) error

func IsASCII

func IsASCII(s string) bool

func SendConfirmationEmail

func SendConfirmationEmail(recipient string, code int, name string)

func StructToMap

func StructToMap(item interface{}) map[string]interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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