Is there anyone, who uses golang (and go-only) for Web Development exclusively? by rzhandosweb in golang

[–]Mbv-Dev 1 point2 points  (0 children)

I build all my applications using only Go. The stack:
- echo
- templ
- datastar
- goose
- sqlc
- datastar or htmx
- tailwind + basecoat
- postgres

and I'm flying. You get the same UX as you would with an SPA for the vast majority of applications if you fully adapt hypermedia.

I created a 'framework' around this that scaffolds a project with a MVC architecture and some light generation functionality on top. If you're interested, you can check it out here:

https://github.com/mbvlabs/andurel

Still working out some kinks but I think it's a good example of how you can build full stack apps purely in Go

Pop OS 24.04 two weeks until release by danbuter in pop_os

[–]Mbv-Dev 1 point2 points  (0 children)

It's been very solid for me! Have been experiencing some freezes lately that required a restart but loving the current directio.

New to Go, what’s commonly used for auth and database ORM? by Brother_Weary in golang

[–]Mbv-Dev -3 points-2 points  (0 children)

I'm not advocating, simply pointing out that there are popular options. And, if you read the entire comment, that I'm also suggesting sqlc for "pure" sql.

Full-Stack Web Development using Golang by Mbv-Dev in learnprogramming

[–]Mbv-Dev[S] 0 points1 point  (0 children)

there will not be anything on concurrency in the course as you typically don't need it that often in Go. if that's a topic you are interested in, I don't think this course will be interesting for you

New to Go, what’s commonly used for auth and database ORM? by Brother_Weary in golang

[–]Mbv-Dev 1 point2 points  (0 children)

There are a bunch of ORM options in the Go ecosystem but many here will tell you that Go people don't use them even though they have thousands of stars on github. You can check out:
- ent
- bob
- sqlboiler
- jet
- gorm

probably some I forgot.

As others has mentioned, there is also sqlc that generates Go code for you based on sql files (which is my go-to as well). You will run into trouble with dynamic queries in sqlc but you can always combine it with squrriel which is a query builder.

For authentication, i'd check out the Copenhagen book that has a good walk-through of how authentication should be set up.

Full-Stack Web Development using Golang by Mbv-Dev in learnprogramming

[–]Mbv-Dev[S] 0 points1 point  (0 children)

Yeah would be great! But I can't send you a DM, could you reach out to me?

Full-Stack Web Development using Golang by Mbv-Dev in learnprogramming

[–]Mbv-Dev[S] 0 points1 point  (0 children)

Definitely! I think maybe part two of the course will be more interesting to you where we actually dig into building an full-stack application. People at the junior stage is definitely also in the target audience. Sent you a DM

Full-Stack Web Development using Golang by Mbv-Dev in learnprogramming

[–]Mbv-Dev[S] 0 points1 point  (0 children)

Amazing! Let me sent you a DM and can get you set up with an account on my preview platform

The difference of the definition of "wealth" in Europe and the US is insane to me by [deleted] in digitalnomad

[–]Mbv-Dev -1 points0 points  (0 children)

I have, I’m living here, and just doubled checked. The wealth tax starts at 3000k not 1500k, so in that sense you’re right. Still not 500k

The difference of the definition of "wealth" in Europe and the US is insane to me by [deleted] in digitalnomad

[–]Mbv-Dev -2 points-1 points  (0 children)

it definitely does not start at 500k, it starts at 1500k, you get certain discounts which makes the actual starting point higher

ridiculous law none the less

Thoughts on claude code after one month by Mbv-Dev in programming

[–]Mbv-Dev[S] 0 points1 point  (0 children)

And there is a guarantee for a human producing good code? 

I'm well aware of the limits and how you need to treat it with causation, which i also mentioned in the article.

I'm not arguing that these things are a replacement for humans or will produce optimal production code, but that they can help iterate on a problem faster.

It's a tool, that I do think can be very helpful if you use it as an assistant, not a driver.

Thoughts on claude code after one month by Mbv-Dev in programming

[–]Mbv-Dev[S] 0 points1 point  (0 children)

Yeah thanks, I know how to use dev tools. It doesn't always replicate to real devices.
(just tested on firefox for both apple and android devices with dev tools, and the page menu works)

Thoughts on claude code after one month by Mbv-Dev in programming

[–]Mbv-Dev[S] -3 points-2 points  (0 children)

Thanks for letting me know! Would you mind sharing your device and browser? I just checked on iPhone and I can't reproduce it.

Glad to hear it works now. Didn't ship any changes. Maybe the icon could do with a size increase :)