mirror of
https://github.com/adnanh/webhook.git
synced 2025-07-31 15:00:29 +00:00
go.uuid broke API in the solution to go.uuid/#18. This updates to the new API.
Fixe afterwards
This commit is contained in:
parent
0aa7395e21
commit
e3a7716521
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ func main() {
|
|||
func hookHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// generate a request id for logging
|
||||
rid := uuid.NewV4().String()[:6]
|
||||
rid := uuid.Must(uuid.NewV4()).String()[:6]
|
||||
|
||||
log.Printf("[%s] incoming HTTP request from %s\n", rid, r.RemoteAddr)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue