fix import

This commit is contained in:
2025-08-07 10:59:46 +09:00
parent 9f95368531
commit 451d45ed06

3
app.go
View File

@@ -5,7 +5,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/go-yaml/yaml"
"os"
"github.com/mattn/go-sqlite3"
_ "github.com/mattn/go-sqlite3"
"database/sql"
)
@@ -39,6 +39,7 @@ func main() {
if err != nil {
panic(err)
}
initdb()
r := gin.Default()
r.GET("/api/getStatus", func(c *gin.Context) {
// 全てのサイトのステータス情報をJSON形式で返す