owl-blogs/app/entry_register.go

12 lines
193 B
Go
Raw Normal View History

2023-06-25 19:54:04 +00:00
package app
import (
"owl-blogs/domain/model"
)
2023-08-08 18:17:04 +00:00
type EntryTypeRegistry = TypeRegistry[model.Entry]
2023-06-25 19:54:04 +00:00
func NewEntryTypeRegistry() *EntryTypeRegistry {
2023-08-08 18:17:04 +00:00
return NewTypeRegistry[model.Entry]()
2023-06-25 19:54:04 +00:00
}