creating and deleting users
This commit is contained in:
9
internal/httpResponse/SomethingWentWrong.go
Normal file
9
internal/httpResponse/SomethingWentWrong.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package httpResponse
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func SomethingWentWrong(w http.ResponseWriter) {
|
||||
JSONHandler(w, http.StatusInternalServerError, `{"error": "Something went wrong"}`)
|
||||
}
|
||||
Reference in New Issue
Block a user