Skip to content
Snippets Groups Projects
Commit 84467571 authored by Pavel Antonov's avatar Pavel Antonov :asterisk:
Browse files

Merge branch 'feature/PRXS-951-2109-TagsFix' into 'master'

Изменено название тегов для поля ID объекта Entry

See merge request perxis/perxis-go!182
parents 0c431aa0 b1be25fc
No related branches found
Tags v0.22.0
No related merge requests found
......@@ -27,7 +27,7 @@ func (l Level) String() string {
}
type Entry struct {
ID string `json:"id" bson:"id" mapstructure:"id"`
ID string `json:"id" bson:"_id" mapstructure:"id"`
Timestamp time.Time `json:"timestamp,omitempty" bson:"timestamp,omitempty" mapstructure:"timestamp,omitempty"`
Level Level `json:"level,omitempty" bson:"level,omitempty" mapstructure:"level,omitempty"`
Message string `json:"message,omitempty" bson:"message,omitempty" mapstructure:"message,omitempty"`
......
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