Skip to content
Snippets Groups Projects
Commit d605c937 authored by ko_oler's avatar ko_oler
Browse files

правки в EntryToPB и EntryFromPB

parent 97f17918
No related branches found
No related tags found
No related merge requests found
package log
import (
"maps"
"time"
"git.perx.ru/perxis/perxis-go/id"
......@@ -111,6 +112,7 @@ func (e *Entry) ToMap() map[string]any {
}
if e.ObjectID != nil {
res["object_id"] = e.ObjectID.String()
maps.Copy(res, e.ObjectID.ToMap())
}
if e.CallerID != nil {
res["caller_id"] = e.CallerID.String()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment