Creating endpoint using GORM Scopes in Golang
VloĆŸit
- Äas pĆidĂĄn 22. 05. 2024
- đ Explore the power of Golang and GORM as we delve into the scopes feature in this tutorial. Learn how to leverage GORM's scopes to streamline database queries and enhance control in your Golang applications.
Chapters:
00:00 Introduction
00:40 Order API
04:49 Creating a new endpoint
08:35 Scopes Example 1
16:49 Scopes Example 1
19:32 Final
đ What you'll learn:
- Harnessing the power of GORM scopes for using soft delete db tables
- Reusing same db functions so you can get rid of code duplications for conditions
đ Resources and Links:
Github source code and commands: github.com/MehmetFiratKomurcu...
Gorm: gorm.io/
Gorm Scopes: gorm.io/docs/scopes.html
Postgres Docker: hub.docker.com/_/postgres
Guid Generator: guidgenerator.com/
đŹ Stay Connected:
Linkedin: / mehmetfiratkomurcu
Twitter: / mfkintech
Blog: firatkomurcu.com/
Github: github.com/MehmetFiratKomurcu
đ If you find this video helpful, don't forget to like, subscribe, and share it with your fellow developers. Your support encourages me to create more content like this!
#GoLang #ProgrammingTutorial #Coding #SoftwareDevelopment #RESTfulAPI #GORM #PostgreSQL #BackendDevelopment #WebDevelopment - VÄda a technologie