docs: update Settings struct in README to use int for MachineID and CheckMachineID (v2)

This commit is contained in:
Yoshiyuki Mineo committed 2025-05-04 17:01:18 +09:00
1 parent fd450d1c8e
commit 60560dc4f7
1 file changed
+2 -2
+2 -2
View File
@@ -44,8 +44,8 @@ You can configure Sonyflake by the struct Settings:
```go
type Settings struct {
StartTime time.Time
MachineID func() (int64, error)
CheckMachineID func(int64) bool
MachineID func() (int, error)
CheckMachineID func(int) bool
}
```