mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: all ID from int to int64 to avoid 32bits machine break (#2191)
Fix all ID from int to int64 to avoid 32bits machine break
This commit is contained in:
@@ -31,7 +31,7 @@ const errRetryWait = 10 * time.Second
|
||||
|
||||
// Start start a long polling using getUpdates to get Update, call r.MessageHandle while get new message updates.
|
||||
func (b *Bot) Start(ctx context.Context) {
|
||||
var offset int
|
||||
var offset int64
|
||||
|
||||
for {
|
||||
updates, err := b.GetUpdates(ctx, offset)
|
||||
|
Reference in New Issue
Block a user