- Fix error return value checks (errcheck) - Fix unused parameters by using underscore prefix - Add missing package comments to all packages - Fix context key type issue in middleware (use typed contextKey) - Replace deprecated trace.NewNoopTracerProvider with noop.NewTracerProvider - Fix embedded field selector in database client - Remove trailing whitespace - Remove revive linter (as requested) to avoid stuttering warnings for public API interfaces All linting and formatting checks now pass.
20 lines
365 B
Go
20 lines
365 B
Go
// Package schema defines the Ent schema for audit log entities.
|
|
package schema
|
|
|
|
import "entgo.io/ent"
|
|
|
|
// AuditLog holds the schema definition for the AuditLog entity.
|
|
type AuditLog struct {
|
|
ent.Schema
|
|
}
|
|
|
|
// Fields of the AuditLog.
|
|
func (AuditLog) Fields() []ent.Field {
|
|
return nil
|
|
}
|
|
|
|
// Edges of the AuditLog.
|
|
func (AuditLog) Edges() []ent.Edge {
|
|
return nil
|
|
}
|