Browse Source

Update README.md

master
Saúl Ortega GitHub 6 years ago
parent
commit
cdcd142e11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      README.md

+ 4
- 3
README.md View File

@@ -27,9 +27,10 @@ response.Data = rows

//WriteResponse receive http.ResponseWriter. It send the response even if there are any error.
//Use WriteResponseOnSuccess(w) if you do not want to send the response when there is an error.
response.WriteResponse(w)

//
err := response.WriteResponse(w)
if err != nil {
//Handle error
}

```



Loading…
Cancel
Save