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

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

parent 0c431aa0
No related branches found
No related tags found
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