Rucorous

u/Rucorous


r/golang•

I just made my first HTMX + Go library! (htmx-go)

This library provides functions and structs to make working with HTMX + Go faster and easier. Type safety is made possible with enum-like values for setting the HX-Swap header and a convenient way of setting triggers in HX-Trigger with automated JSON encoding.

I noticed that there weren't a lot of Go/HTMX helper modules. awesome-htmx only has an HTML component builder in Go, and the only other HTTP/HTMX library I've found hasn't been updated in a while. I've decided to make my own library that has decent documentation and type safety.

➡️ Documentat

11516

r/htmx•

​

htmx-go

I just made my first HTMX + Go library!

This library provides functions and structs to make working with HTMX + Go faster and easier. Type safety is made possible with enum-like values for setting the HX-Swap header and a convenient way of setting triggers in HX-Trigger with automated JSON encoding.

I noticed that there weren't a lot of Go/HTMX helper modules. awesome-htmx only has an HTML component builder in Go, and the only other HTTP/HTMX library I've found hasn't been updated in a while. I've decided

322

r/PHbuildapc•

Hello! Kailangan ko ng bagong PC for my workload so I've made a PC part list. I will build my first ever PC in one or two weeks and buy all of the parts from DynaQuest.

I will use this computer mainly for programming. I will do coding and compilation in C / Rust, web dev (full-stack), Docker and Linux distro dev. I need to run virtual machines, sometimes two or even more at once. Because I need to run VMs all the time, I think 32GB RAM would be the right fit for me.

I went with the 5700G because it has 8 cores / 16 threads. I want to do heavy compiling in the background while running Firefox, Discord, Spotify, etc.

I will only install Linux, but the only really important thing is

88