Better 32bit support with specific uint64 typing
This commit is contained in:
parent
78618fc1e8
commit
a8bb04efd5
1 changed files with 10 additions and 10 deletions
20
main.go
20
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue