mirror of
https://github.com/ent/ent.git
synced 2026-04-28 05:30:56 +03:00
doc/faq: fix typo in sonyflake example (#1743)
This commit is contained in:
@@ -363,7 +363,7 @@ func (BaseMixin) Hooks() []ent.Hook {
|
||||
}
|
||||
|
||||
func IDHook() ent.Hook {
|
||||
sf := sonyflake.NewSonyflake(sonyflage.Settings{})
|
||||
sf := sonyflake.NewSonyflake(sonyflake.Settings{})
|
||||
type IDSetter interface {
|
||||
SetID(uint64)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user