fix import
This commit is contained in:
3
app.go
3
app.go
@@ -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形式で返す
|
||||
|
Reference in New Issue
Block a user