examples
GORM
examples | GORM | |
---|---|---|
12 | 74 | |
74 | 35,527 | |
- | 1.1% | |
8.6 | 8.5 | |
8 days ago | 6 days ago | |
TypeScript | Go | |
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.
examples
-
Using Clerk to authenticate users in a Go backend
For all the code and instructions of how to clone and run this example locally, see the Clerk Example in the Encore examples repo.
-
Go ORMs Compared
Encore is designed to work well with sqlc and is a simple method of trying it out, as Encore will take care of provisioning your databases automatically. Check out this hello-world example app using Encore and sqlc on GitHub.
-
Build a backend in Go using REST and PostgreSQL
Keep building with these Open Source App Templates.👈
-
Deploying a Go backend to a new Kubernetes Cluster in minutes(!)
To keep things simple, we're going to clone a pre-made backend app from Encore's template repo. It's a simple monolith implementing a URL shortener. The app has a REST API and a PostgreSQL database.
-
Build an Event-Driven Uptime Monitor in Go 🚀
If you want to build something more, check out Encore's templates library for inspiration.
-
🤔What to expect from a Backend Development Platform
There's much more to Encore! If you want to get a feel for it, consider creating a free account and build an app with a template.
-
Create an AI Voice Generation App in 5 minutes 🧠✨
Download the elevenlabs package directory from https://github.com/encoredev/examples/tree/main/bits/elevenlabs and add it to the app directory you just created.
-
Build a GraphQL API and deploy it in minutes with Encore 🚀
Keep building with these Open Source App Templates. 👈
-
How to build a Slack Bot in Go
You can see the end result code on GitHub here.
-
Show HN: Encore – Go framework for distributed systems
Thanks! Encore does support dropping down to plain HTTP requests which lets you use Websockets, see [1]. We hope to make it more ergonomic and less boilerplate-y in the future, but it is supported :)
[1] https://github.com/encoredev/examples/tree/main/websocket-ec...
GORM
-
Go ORMs Compared
GORM is a comprehensive ORM tool in Go, offering a code-first approach which allows defining database schemas using struct tags in Go. It's known for its developer-friendly nature, making it suitable for both beginners and experienced users. GORM supports a variety of SQL databases like MySQL, PostgreSQL, and SQLite. It's designed to be flexible, allowing developers to drop down to raw SQL when necessary. However, it's important to be cautious about its performance implications in large-scale applications.
-
6 🔥 Awesome Golang packages (web devs)
Homepage: https://gorm.io/
- Tenha controle sobre seu SQL com Golang e SQLC
- Não use funções puras com Go
-
Build an Event-Driven Uptime Monitor in Go 🚀
Since most of these APIs will be simple CRUD (Create/Read/Update/Delete) endpoints, let's build this service using GORM, an ORM library that makes building CRUD endpoints really simple.
- [OpenSource] I am building high performance Plex alternative in Go for Movies and TV Show
-
Building Robust Applications in Go: Integrating Envconfig, Gorm, and OpenSearch
After successfully configuring the application, it's time to delve into integrating the data layer. For this purpose, I will utilize gorm, a powerful SQL ORM that facilitates rapid development of the data layer using model structs.
-
ORM or no ORM that is the question
For basic INSERT ... VALUES ... or SELECT ... WHERE ... JOIN ..., use a library such as GORM. For INSERT .... SELECT ... statements where one combines two round trips (SELECT and INSERT) into one, ORMs have a hard time performing this query. Particularly when you start doing joins. Joins are the heart of Relational database theory (they denote relationships). So get to know what an INNER, LEFT, RIGHT and OUTER join is and why you would use them. Also learn INSERT ... SELECT ...
-
Why ORMs are so hated?
I have never hated gorm and it serves me well. However I tend to feed it raw SQL very often.
-
Golang RESTAPI boilerplate repository
Array of values with embedded value all pointed to the last value, reflect code was broken: https://github.com/go-gorm/gorm/pull/5901 data corruption
What are some alternatives?
Encore - Encore is the Backend Development Platform purpose-built to help you create event-driven and distributed systems.
ent - An entity framework for Go
elevenlabs-python - The official Python API for ElevenLabs Text to Speech.
Xorm
Pion WebRTC - Pure Go implementation of the WebRTC API
SQLBoiler - Generate a Go ORM tailored to your database schema.
go-formatter - A curated list of awesome Go frameworks, libraries and software
go-pg - Golang ORM with focus on PostgreSQL features and performance
dapr - Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
pgx - PostgreSQL driver and toolkit for Go
go-kit - A standard library for microservices.
beego orm