|7 days ago||about 14 hours ago|
|MIT License||MIT License|
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.
Migrating from PHP to Go
Do you like an ORM like eloquent for Laravel? Then I can recommend GORM https://gorm.io/
Good ORM library: https://gorm.io/
5chan - The 4chan clone
dev.to | 2021-09-18
How We Went All In on sqlc/pgx for Postgres + Go
reddit.com/r/golang | 2021-09-09
Well, if you look at Gorm's prepare_stmt.go you see that it is a thin wrapper around a database/sql.Stmt. And if you look at database/sql.Stmt you see that it's a sort of handle to an abstract entity that it creates in the database.
Go, Kafka and gRPC clean architecture CQRS microservices with Jaeger tracing 👋🧑💻
dev.to | 2021-08-29
Writer service consumes kafka topics, process messages writing to postgres and publishes successfully processed messages to kafka. For working with postgres in Go in my opinion the best choose is pgx, but if you need query builder very good library is squirrel, personally don't like orm's, but usually as have seen, teams often uses gorm, it's up to you. ProcessMessages method listening kafka topics and call specific method depends on topic:
What Knowledge Golang Back End Developer Should Have?
reddit.com/r/golang | 2021-08-24
gorm's performance I believe is fairly impressive at this point. While it was bad at first, they put a lot of effort in the v2 release to make it great. Check out: https://github.com/go-gorm/gorm/issues/3055
Read table from database without knowng its field in golang
reddit.com/r/golang | 2021-08-08
Sure. You can do this, but I would honestly recommend to only do this in test code, if at all. Otherwise, you should aim to keep types and by that the according API to interact with your DB schema static and consistent. An easy way to do this would be to use an object relational mapper (ORM) library like gorm.
What is the best solution to unique data in golang
reddit.com/r/golang | 2021-08-05
Once in sqlite you can use something like https://gorm.io/ (or use a golang sqlite package like: github.com/mattn/go-sqlite3) to work with the data.
Database for Go projects?
reddit.com/r/golang | 2021-06-20
If you and your team currently don't have any specific requirements, I'd advice to choose an abstraction library that have supports for most common dbs (eg. gorm or bun) and start with whatever db you are more used to.
Which is the best go web framework for creating a rest api 's backend ?
reddit.com/r/golang | 2021-06-19
DB abstractions: - gorm - go-pg - bun - sqlx
"curated" package repository similar to CRAN?
reddit.com/r/golang | 2021-10-11
https://awesome-go.com/ has always been my go to.
[cj] Ask Me Anything Thread
reddit.com/r/OkCupid | 2021-10-04
Honestly, pick a couple of ones that interest you off https://github.com/avelino/awesome-go and start hacking away and picking things off that project's issues.
Migrating from PHP to Go
bring your own tools - this is where you select your libraries and then wire them together manually. Most libraries play very well with other libraries https://github.com/avelino/awesome-go -- so it can be easier than in other languages. This approach is very common.
Modules for all occasions: https://github.com/avelino/awesome-go
Having a hard time learning golang
reddit.com/r/golang | 2021-08-19
As mentioned by others, I would suggest starting with Go tour and try to digest as much as you can from it. Once you feel you are ready, take a peek into the Awesome Go github repo https://github.com/avelino/awesome-go. There you can find a lot of examples of how to write and organize your code.
Should I learn Golang or use Ansible to delveop the operators?
reddit.com/r/kubernetes | 2021-08-19
What's great is there are really great patterns to follow out there on github (both code patterns https://github.com/tmrts/go-patterns and examples https://github.com/avelino/awesome-go https://github.com/go-kit/kit and for the app itself, https://github.com/golang-standards/project-layout )... and for me a really naggy mentor who insists everything be "idiomatic go"
Ask HN: Learning Go, what’s the best steps to take to better educate myself
news.ycombinator.com | 2021-08-16
Awesome Go- like an encyclopedia of go things: https://github.com/avelino/awesome-go
What are your favorite packages to use?
reddit.com/r/golang | 2021-08-15
Also recommend the Awesome Go list.
Any good resources to learn Elasticsearch with Golang?
reddit.com/r/golang | 2021-08-07
Thoughts on Golang’s future in backend Web Development?
reddit.com/r/golang | 2021-08-06
Have you looked at https://awesome-go.com/ ? There is pretty much any library you would want.
What are some alternatives?
ent - An entity framework for Go
go-pg - Golang ORM with focus on PostgreSQL features and performance
SQLBoiler - Generate a Go ORM tailored to your database schema.
gorp - Go Relational Persistence - an ORM-ish library for Go
xorm - xorm是一个简单而强大的Go语言ORM库，通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本，为xorm提供类似ibatis的配置文件及动态SQL支持，支持AcitveRecord操作
upper.io/db - Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
pop/soda - A Tasty Treat For All Your Database Needs
REL - :gem: Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API
reform - A better ORM for Go, based on non-empty interfaces and code generation.
go-queryset - 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.