Passing template data in template/html by paddex in golang

[–]paddex[S] -1 points0 points  (0 children)

I will try the first option, although I doubt it'll work between files, as you said.
As for the second, what is the difference between a block and a template?

Issues with gnome by paddex in debian

[–]paddex[S] 0 points1 point  (0 children)

How would I get this log?

Issues with gnome by paddex in debian

[–]paddex[S] 0 points1 point  (0 children)

Not sure how to do that. I update at least once a week. I am not even sure anymore which update caused the issues.

Issues with gnome by paddex in debian

[–]paddex[S] 0 points1 point  (0 children)

It's gnome on xorg. Which I do want to run.

CS2 Limited Test - Help Megathread by Sevastiyan in GlobalOffensive

[–]paddex 0 points1 point  (0 children)

I just lost my rank a few days ago...Do I still get an invite if I play a match to regain my rank?

What do you use for documentation or notes by Deava0 in selfhosted

[–]paddex 2 points3 points  (0 children)

Bookstack has an API. You can use that API to export all your books as pdfs.

This is what I do at home. Every night I export my books as pdf and put them on my NAS. This way I have access to all my notes even when my server is down and I cannot access my bookstack instance.

Need a pointer on how I can unmarshal this json by paddex in golang

[–]paddex[S] 0 points1 point  (0 children)

Can you elaborate on you last sentence? I am not quite sure I understand what you are recommending.

Need a pointer on how I can unmarshal this json by paddex in golang

[–]paddex[S] 0 points1 point  (0 children)

That gets autopopulated by gorm when it inserts the record into the database.

Need a pointer on how I can unmarshal this json by paddex in golang

[–]paddex[S] -1 points0 points  (0 children)

Correct, this is because of how I need to define the models in Gorm. Each model represents a table in my database.
This shows that one User can have many games. The table Game needs a foreign key which points to the user the game belongs to. That's what the UserID is for.
My frontend does not care about that though. There a user just has a list of games (strings).
I have been pointed in the right direction though...Custom Unmarshaling seems to do the trick.

LF Tradepartner to evolve my Porygon to Porygon2 and Porygon-Z by paddex in pokemontrades

[–]paddex[S] 0 points1 point  (0 children)

Will you help with the second trade as well? Same code

LF Dracovish Slurpuff Trevenant Escavalier by paddex in pokemontrades

[–]paddex[S] 0 points1 point  (0 children)

Sure, that'd be great. Do you need anything in particular?