sendResponse(w, "this book is already in the library", "") return or fmt.Fprintf(w, `{"Result": "this book is already in the library", "Error": ""}`) return