restructure project, add claudemd
This commit is contained in:
23
go/l4g/entry.go
Normal file
23
go/l4g/entry.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package l4g
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
// Entry is a single structured log record. It is the framework-owned mirror of
|
||||
// the application's log-entry model: field names, types, and order match, so an
|
||||
// app can convert directly (e.g. models.LogEntry(entry)) when persisting via the
|
||||
// database writer registered with SetDatabaseWriter.
|
||||
type Entry struct {
|
||||
ID uuid.UUID
|
||||
AppUserID *uuid.UUID
|
||||
OrgID *uuid.UUID
|
||||
Content *string
|
||||
StructuredContent *string
|
||||
Category int32
|
||||
LogType int32
|
||||
Timestamp time.Time
|
||||
IdentityID *uuid.UUID
|
||||
}
|
||||
Reference in New Issue
Block a user