Updating logs from fmt to package log

This commit is contained in:
🐙PiperYxzzy
2022-08-06 23:35:42 +02:00
parent a3e2c4012a
commit b198814aa7
4 changed files with 21 additions and 18 deletions

View File

@@ -3,6 +3,7 @@ package util
import (
"crypto/rand"
"fmt"
"log"
"github.com/golang-jwt/jwt"
"github.com/google/uuid"
@@ -32,7 +33,7 @@ type NextMsg struct {
func SendEmail(title string, body string, recipients []string) {
//TODO
fmt.Println("Send", title, body, "to", recipients)
log.Println("Send", title, body, "to", recipients)
}
func ParseJwt(tokenStr string, hmac []byte) (jwt.MapClaims, error) {