@@ -62,7 +62,7 @@ func listInstalledModsHandler(w http.ResponseWriter, r *http.Request) {
6262 }
6363}
6464
65- // Returns JSON response with success or error-message
65+ // LoginFactorioModPortal returns JSON response with success or error-message
6666func LoginFactorioModPortal (w http.ResponseWriter , r * http.Request ) {
6767 var err error
6868 resp := JSONResponse {
@@ -147,7 +147,7 @@ func LogoutFactorioModPortalHandler(w http.ResponseWriter, r *http.Request) {
147147 }
148148}
149149
150- //Returns JSON response with the found mods
150+ //ModPortalSearchHandler returns JSON response with the found mods
151151func ModPortalSearchHandler (w http.ResponseWriter , r * http.Request ) {
152152 var err error
153153 resp := JSONResponse {
@@ -180,7 +180,7 @@ func ModPortalSearchHandler(w http.ResponseWriter, r *http.Request) {
180180 }
181181}
182182
183- //Returns JSON response with the mod details
183+ //ModPortalDetailsHandler returns JSON response with the mod details
184184func ModPortalDetailsHandler (w http.ResponseWriter , r * http.Request ) {
185185 var err error
186186 resp := JSONResponse {
@@ -567,7 +567,7 @@ func DownloadModsHandler(w http.ResponseWriter, r *http.Request) {
567567 writerHeader .Set ("Content-Disposition" , fmt .Sprintf ("attachment; filename=\" %s\" " , "all_installed_mods.zip" ))
568568}
569569
570- //Returns JSON response with the found mods
570+ //LoadModsFromSaveHandler returns JSON response with the found mods
571571func LoadModsFromSaveHandler (w http.ResponseWriter , r * http.Request ) {
572572 var err error
573573 resp := JSONResponse {
0 commit comments