func NewAPIKey(userID int64, description string) *APIKey {
	return &APIKey{
		UserID:      userID,
		Token:       crypto.GenerateRandomString(32),
		Description: description,
	}
}
NewAPIKey initializes a new APIKey.
package model  
import (
	"time"
	"miniflux.app/crypto"
)
type APIKey struct {
	ID          int64
	UserID      int64
	Token       string
	Description string
	LastUsedAt  *time.Time
	CreatedAt   time.Time
}