implement the first log message
This commit is contained in:
@@ -1 +0,0 @@
|
||||
package logger
|
||||
7
src/logging/logging.go
Normal file
7
src/logging/logging.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package logging
|
||||
|
||||
import "log"
|
||||
|
||||
func Info(message string) {
|
||||
log.Print(message)
|
||||
}
|
||||
@@ -11,6 +11,8 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"astraltech.xyz/accountmanager/src/logging"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -306,6 +308,8 @@ func cleanupSessions() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
logging.Info("Starting the server")
|
||||
|
||||
var err error = nil
|
||||
|
||||
blankPhotoData, err = os.ReadFile("static/blank_profile.jpg")
|
||||
|
||||
Reference in New Issue
Block a user