Skip to content

Commit

Permalink
feat: add json signature to audit model
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisuhag committed Nov 1, 2024
1 parent be13463 commit d149a39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions audit/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package audit
import "time"

type Log struct {
Timestamp time.Time
Action string
Actor string
Data interface{}
Metadata interface{}
Timestamp time.Time `json:"timestamp"`
Action string `json:"action"`
Actor string `json:"actor"`
Data interface{} `json:"data"`
Metadata interface{} `json:"metadata"`
}

0 comments on commit d149a39

Please sign in to comment.