update legacy names

This commit is contained in:
Mitsu
2025-07-07 22:14:59 +02:00
parent bdce29a129
commit dc960b3e23
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1 +1 @@
# Lucerna # Laterna
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"database/sql" "database/sql"
_ "github.com/mattn/go-sqlite3" _ "github.com/mattn/go-sqlite3"
"github.com/mizuw/laterna/server/cmd/internal/logger" "github.com/siestaw/laterna/server/cmd/internal/logger"
) )
func ConnectDB() { func ConnectDB() {
+3 -3
View File
@@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/mizuw/laterna/server/cmd/internal/config" "github.com/siestaw/laterna/server/cmd/internal/config"
"github.com/mizuw/laterna/server/cmd/internal/logger" "github.com/siestaw/laterna/server/cmd/internal/logger"
) )
func StartHTTPServer() { func StartHTTPServer() {
@@ -18,7 +18,7 @@ func StartHTTPServer() {
http.ListenAndServe(fmt.Sprintf(":%d", port), router) http.ListenAndServe(fmt.Sprintf(":%d", port), router)
} }
func createToken(w http.ResponseWriter, r *http.Request) { func createToken(w http.ResponseWriter, r *http.Request) { // temporary, only for testing
authHeader := r.Header.Get("Authorization") authHeader := r.Header.Get("Authorization")
adminToken := config.AppConfig.HTTP.AdminToken adminToken := config.AppConfig.HTTP.AdminToken
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"os" "os"
"time" "time"
"github.com/mizuw/laterna/server/cmd/internal/config" "github.com/siestaw/laterna/server/cmd/internal/config"
) )
var ( var (
+4 -4
View File
@@ -1,10 +1,10 @@
package main package main
import ( import (
"github.com/mizuw/laterna/server/cmd/internal/config" "github.com/siestaw/laterna/server/cmd/internal/config"
"github.com/mizuw/laterna/server/cmd/internal/db" "github.com/siestaw/laterna/server/cmd/internal/db"
"github.com/mizuw/laterna/server/cmd/internal/http" "github.com/siestaw/laterna/server/cmd/internal/http"
"github.com/mizuw/laterna/server/cmd/internal/logger" "github.com/siestaw/laterna/server/cmd/internal/logger"
) )
func main() { func main() {
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/mizuw/laterna/server module github.com/siestaw/laterna/server
go 1.24.4 go 1.24.4