mirror of
https://github.com/adnanh/webhook.git
synced 2025-06-23 04:48:31 +00:00
Update go.mod and github action:
Dependencies were old. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
This commit is contained in:
parent
665f955514
commit
ac897f59aa
455 changed files with 72 additions and 276743 deletions
|
@ -39,7 +39,7 @@ type LogEntry struct {
|
|||
}
|
||||
|
||||
// Write constructs and writes the final log entry.
|
||||
func (l *LogEntry) Write(status, totalBytes int, elapsed time.Duration) {
|
||||
func (l *LogEntry) Write(status, totalBytes int, header http.Header, elapsed time.Duration, extra interface{}) {
|
||||
rid := GetReqID(l.req.Context())
|
||||
if rid != "" {
|
||||
fmt.Fprintf(l.buf, "[%s] ", rid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue