update: readme, template

This commit is contained in:
2024-03-13 02:02:17 +08:00
parent 4c2ea5896b
commit c3ed392900
9 changed files with 1024 additions and 241 deletions

View File

@@ -14,7 +14,7 @@ func RunServer(port uint16) {
r.GET("/convert", handler.Convert)
fmt.Println("Server is running on port ", port)
fmt.Println("Server is running on port", port)
err := r.Run(":" + strconv.Itoa(int(port)))
if err != nil {
fmt.Println("Run server failed: ", err)