Better 32bit support with specific uint64 typing

This commit is contained in:
Jarkko Toivanen 2024-12-28 01:55:43 +02:00
parent 78618fc1e8
commit a8bb04efd5

20
main.go
View file

@ -17,7 +17,7 @@ type Config struct {
}
type user struct {
id uint
id uint64
name string
handle string
pass string
@ -26,8 +26,8 @@ type user struct {
}
type persona struct {
id uint
userid uint
id uint64
userid uint64
handle string
name string
about string
@ -35,10 +35,10 @@ type persona struct {
}
type Post struct {
Id uint
Id uint64
Time uint
Userid uint
Personaid uint
Userid uint64
Personaid uint64
Text string
PersonaName string
UserName string
@ -47,11 +47,11 @@ type Post struct {
}
type comment struct {
id uint
id uint64
time uint
userid uint
personaid uint
postid uint
userid uint64
personaid uint64
postid uint64
text string
}