Change `interface{}` to `any`

This commit is contained in:
Chongyi Zheng 2024-04-27 16:12:18 -04:00
parent cee300a8fb
commit d706aa54d0
No known key found for this signature in database
GPG Key ID: 4B90B77407DA2359
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ type Comment struct {
Updated time.Time
Content string
Reactions []*Reaction
Meta map[string]interface{} `yaml:"meta,omitempty"` // see models/issues/comment.go for fields in Comment struct
OriginalID int64 `yaml:"-"` // ID from the upstream syncing source
Meta map[string]any `yaml:"meta,omitempty"` // see models/issues/comment.go for fields in Comment struct
OriginalID int64 `yaml:"-"` // ID from the upstream syncing source
}
// GetExternalName ExternalUserMigrated interface