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