xo
Buffalo
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xo
-
Open-sourcing SQX, a way to build flexible database models in Go
i like xo's approach https://github.com/xo/xo but it is as is. I would love if something similar comes along that is used by db practititoners that is actively used and supported.
- PHP to Golang
-
Best sqlc alternative for dynamic queries?
I use xo https://github.com/xo/xo . It generates CRUD queries by default so i don't have to write basic queries and it has option to write complex queries like sqlx. Only issue is it is not well documented.
-
Why SQL is right for Infrastructure Management
SQL is an old, irregular language to work with, but it is better known than HCL and SQL already has it's own Pulumi/CDK in the form of every ORM with introspection (like Javascript's Prisma, Python's Django, Go's XO etc) and QueryBuilder (LINQ, Knex, etc) in whatever programming language you prefer. You probably already know it.
-
Help with XO's new templating, how to access fields and params
I am using the library xo to generate basic data retrieval code from a sql schema for a crud api.
-
Matt Mueller: Building Modern Web Applications Faster With Bud
Sorry for the confusion, we're not generating the database client itself, more like generating an ORM around a database client. The ORM takes these database clients as dependencies. It's very similar to the way XO works with it's multi-database support: https://github.com/xo/xo/tree/master/_examples/northwind
-
What’s your preferred setup to work with SQL DB (without ORM) ?
i use xo . Reason is i prefer designing schema first and creating golang scaffolding later. Xo takes schema and gives me basic create/update/delete operations by default and i can also generate gocode for any sql queries that i write.
- Show HN: A Go framework for your projects
-
sqlc: Generating go code from sql statements
Thanks for sharing your thoughts! I see that it works best with Postgresql. The other commenter mentioned https://github.com/xo/xo for MySql which might work well.
-
Show HN: A Full-Stack Web Framework Written in Go
Thanks for your comment and question @onionisfruit. Top-notch handle too!
>> What are your plans for models and persistence?
I haven't worked out all the details, but it's going to be some blend of https://github.com/xo/xo and https://sqlc.dev/.
Design goals:
1. High-level, type-safe "ORM" that's generated from your database schema.
Buffalo
-
My Love Letter to Rails (and Ruby) – Or, Why RoR Isn't Dead Yet
You should probably stop because this is not a Go-way. And you wan't find anything with "batteries" other than https://github.com/gobuffalo/buffalo and https://github.com/beego/beego
Haven't see anyone actually using them in production though.
- A Go web development eco-system, designed to make your life easier
-
Goravel, Web framework inspired from Laravel in Golang
No default. There is Buffalo which is modeled after Rails, haven't used it in anger though.
https://gobuffalo.io
- What is the current ideal choice for server-side rendered web frameworks?
- Ask HN: Why is web development such a daunting task?
-
Looking to learn more of Go, does it require third party libraries like Spring/ASP.NET, etc?
In general, no. But if you do seek for one, I think https://gobuffalo.io is very good.
-
Buffalo VS Don - a user suggested alternative
2 projects | 15 Mar 2023
-
Is there a framework out for go that rivals Laravel as far as out of the box features and tools?
There is https://gobuffalo.io/ and there is https://github.com/livebud/bud. Both are interesting approaches, but sadly, without real business interest from the community. See, 90% of what makes Laravel Laravel (or Rails Rails) is business adoption. And, as you will sadly find out, the business adoption for traditional Web applications is exactly zero. If you don't want to make the same mistake as I did, and spend 3 years of your life searching for it, do as the others advised - just use the tools and frameworks that have already been built to solve the problem you need.
-
Does Golang has any framework like Springboot?
If you like Ruby on Rails, there is Buffalo.
-
Building web-based SaaS with Go as a solo entrepreneur. What should I be aware of?
Buffalo is currently built on Gorilla which complicates building a business on it right now as Gorilla has shifted to public archive since it has no maintainer. https://github.com/gobuffalo/buffalo/issues/2360
What are some alternatives?
sqlc - Generate type-safe code from SQL
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
igor - igor is an abstraction layer for PostgreSQL with a gorm like syntax.
Beego - beego is an open-source, high-performance web framework for the Go programming language.
SQLBoiler - Generate a Go ORM tailored to your database schema.
Echo - High performance, minimalist Go web framework
prometheus - The Prometheus monitoring system and time series database.
Revel - A high productivity, full-stack web framework for the Go language.
BTrDB - Berkeley Tree Database (BTrDB) server
Fiber - ⚡️ Express inspired web framework written in Go
dat - Go Postgres Data Access Toolkit
Iris - The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket: