// SetupLinks creates a link string map that should be used for email
// sending, etc.
// The parameter specifies the root of the link, example:
// "http://yoursite.com/user"
SetupLinks creates a link string map that should be used for email
sending, etc.
// SetupLinks creates a link string map that should be used for email // sending etc . // The parameter specifies the root of the link example : // " http : // yoursite . com / user "
func SetupLinks(r string) map[httpflow.LinkKey]string {
	return map[httpflow.LinkKey]string{
		httpflow.LinkActivation:         r + "/activate?token=%s",
		httpflow.LinkActivationCancel:   r + "/activate/cancel?token=%s",
		httpflow.LinkVerification:       r + "/verify?token=%s",
		httpflow.LinkVerificationCancel: r + "/verify/cancel?token=%s",
		httpflow.LinkRecovery:           r + "/recover?token=%s",
		httpflow.LinkRecoveryCancel:     r + "/recover/cancel?token=%s",
	}
}
func SetupLinks ( r string ) map [ httpflow . LinkKey ] string { return map [ httpflow . LinkKey ] string { httpflow . LinkActivation : r + " " , httpflow . LinkActivationCancel : r + " " , httpflow . LinkVerification : r + " " , httpflow . LinkVerificationCancel : r + " " , httpflow . LinkRecovery : r + " " , httpflow . LinkRecoveryCancel : r + " " , } }
SetupLinks creates a link string map that should be used for email
sending, etc.
SetupLinks creates a link string map that should be used for email sending etc .