From a8bb04efd5ae279ebaace539094a09f5c1a19623 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Sat, 28 Dec 2024 01:55:43 +0200 Subject: [PATCH] Better 32bit support with specific uint64 typing --- main.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/main.go b/main.go index ebc0cad..c146955 100644 --- a/main.go +++ b/main.go @@ -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 }