From 2e41c37ac40254d17ef0226e16eab5792b3a8bf9 Mon Sep 17 00:00:00 2001 From: Veselkov Konstantin Date: Thu, 24 Oct 2019 14:02:36 +0400 Subject: [PATCH] Fixed comment for documentations (#194) --- event.go | 2 +- globals.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/event.go b/event.go index c1c946b..9ae7c89 100644 --- a/event.go +++ b/event.go @@ -208,7 +208,7 @@ func (e *Event) Object(key string, obj LogObjectMarshaler) *Event { return e } -// Object marshals an object that implement the LogObjectMarshaler interface. +// EmbedObject marshals an object that implement the LogObjectMarshaler interface. func (e *Event) EmbedObject(obj LogObjectMarshaler) *Event { if e == nil { return e diff --git a/globals.go b/globals.go index 674ad07..58fc6fb 100644 --- a/globals.go +++ b/globals.go @@ -11,7 +11,7 @@ const ( // serialized as Unix timestamp integers. TimeFormatUnix = "" - // TimeFormatUnix defines a time format that makes time fields to be + // TimeFormatUnixMs defines a time format that makes time fields to be // serialized as Unix timestamp integers in milliseconds. TimeFormatUnixMs = "UNIXMS"