-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
created endpoint to get one attendee by id #47
Conversation
handlers/events.go
Outdated
@@ -84,7 +85,7 @@ func GetEvent(c *gin.Context) { | |||
c.IndentedJSON(http.StatusBadRequest, nil) //bad data | |||
return | |||
} | |||
|
|||
fmt.Println("event", intEventID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some stray logging that maybe can be removed?
handlers/hosts.go
Outdated
setCors(c) | ||
|
||
attendeeID := c.Param("attendeeID") | ||
fmt.Println("attendee", attendeeID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more stray debug logging here and right below that can be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few fmt.Println()s that can/should probably be removed b/c I'm guessing they were adding for debugging efforts - but everything else looks good!
…ere is the event type menu.
No description provided.