手動上傳圖片文件

This commit is contained in:
2023-06-07 14:25:04 +08:00
parent 560151a72d
commit 324d6e0d50
6 changed files with 107 additions and 9 deletions

View File

@@ -90,5 +90,7 @@ func main() {
r.HandleFunc("/api/account", routers.AccountGet).Methods("GET")
log.Println("Web Server is running on http://localhost:8080")
http.ListenAndServe(":8080", r)
if err := http.ListenAndServe(":8080", r); err != nil {
log.Fatal(err)
}
}