--- tags: - IT/Development/Go --- ## Verwendung ## Installation ```shell wget https://go.dev/dl/go1.25.1.linux-amd64.tar.gz rm -rf /usr/local/go && tar -C /usr/local -xzf go1.25.1.linux-amd64.tar.gz ``` ## Go by Example - [Go by Example: Logging](https://gobyexample.com/logging) ## Articles - [Building an AI-Native Admin Panel with Go, Gin, and GORM | by Hüseyin Mert | tapsilat | Medium](https://medium.com/tapsilat/building-an-ai-native-admin-panel-with-go-gin-and-gorm-45451a04a126) - [Building a Simple CRUD API with Go (Golang): A Todo App | by Disara Mapalagama | Medium](https://medium.com/@disaradm07/building-a-simple-crud-api-with-go-golang-a-todo-app-ee614a090756) - [Using TestContainers and the Bun ORM in Go for PostgreSQL Testing | by Akinola Ayodeji | Medium](https://ayoakinola.medium.com/using-testcontainers-and-the-bun-orm-in-go-for-postgresql-testing-fccb258bdbf0) - [Testing in Golang(Part 2) — Database Integration Tests | by Michał Szum | Medium](https://medium.com/@suuum/testing-in-golang-part-2-database-integration-tests-ad6880de22b4) - [Go Fiber JWT Auth](https://medium.com/code-beyond/go-fiber-jwt-auth-eab51a7e2129) - [Building Production-Ready REST APIs with Go Fiber: A Complete Boilerplate Guide | by Bantawa Pawan | Medium](https://medium.com/@rahunn3/building-production-ready-rest-apis-with-go-fiber-a-complete-boilerplate-guide-59387f076ea9) - [Creating RESTFUL API using Golang and Postgres Part 1 | by Cavdy | Medium](https://medium.com/@cavdy/creating-restful-api-using-golang-and-postgres-part-1-58fe83c6f1ee) - [Golang Application Template (Gin, PostgreSQL, MailHog, PGAdmin, Docker Compose) | by Fedor GNETKOV | Medium](https://medium.com/@gnetkov/golang-application-template-gin-postgresql-mailhog-pgadmin-docker-compose-a243c29d0bee) - [A Simple Todo CRUD API using Golang, Gin, GORM, and PostgreSQL | by Rashid Ali | Medium](https://medium.com/@rashid14713524/a-simple-todo-crud-api-using-golang-gin-gorm-and-postgresql-981a9bde0c4d) - [Building a RESTful API with Go: A Step-by-Step Guide](https://medium.com/@briankworld/building-a-restful-api-with-go-a-step-by-step-guide-d17e69f004a7) - [Building a REST API in Golang | Bastian Isensee](https://bastian-isensee.com/post/29-rest-api-go/) - [The Easiest Way to Create a REST API With Go - DEV Community](https://dev.to/calvinmclean/the-easiest-way-to-create-a-rest-api-with-go-20bo) - [How to Connect and Operate MariaDB Using GORM in Go | by Sean Zheng | Medium](https://medium.com/@blackhorseya/how-to-connect-and-operate-mariadb-using-gorm-in-go-bc55b1984348) - [Use UUID Within Gorm And Mysql. First, Import uuid and gorm packages as… | by Hayden Zhou | Medium](https://medium.com/@mfkhao2009/use-uuid-within-gorm-and-mysql-8021459a10ba) - [Tutorial: Accessing a relational database - The Go Programming Language](https://go.dev/doc/tutorial/database-access) - [Building REST APIs in Golang go-gin with persistence database Postgres - DEV Community](https://dev.to/ramu_mangalarapu/building-rest-apis-in-golang-go-gin-with-persistence-database-postgres-4616) - [Go REST Guide. gorilla/mux Router - JetBrains Guide](https://www.jetbrains.com/guide/go/tutorials/rest_api_series/gorilla-mux/) - [postgresql - How do you do UUID in Golangs Gorm? - Stack Overflow](https://stackoverflow.com/questions/36486511/how-do-you-do-uuid-in-golangs-gorm) - [go gorm - Go: Run test from multiple package with DB initialization - Stack Overflow](https://stackoverflow.com/questions/31061683/go-run-test-from-multiple-package-with-db-initialization) ## GitHub - [go-crud/examples/relationships/main.go at main · goliatone/go-crud · GitHub](https://github.com/goliatone/go-crud/blob/main/examples/relationships/main.go) - [bun/example/basic/main.go at master · uptrace/bun · GitHub](https://github.com/uptrace/bun/blob/master/example/basic/main.go) - [bun/example/basic at master · uptrace/bun · GitHub](https://github.com/uptrace/bun/tree/master/example/basic) - [go-code-samples/go-rest-demo at main · JetBrains/go-code-samples · GitHub](https://github.com/JetBrains/go-code-samples/tree/main/go-rest-demo) - [go-code-samples/go-gin-react/go-gin-react-part3/main.go at main · JetBrains/go-code-samples · GitHub](https://github.com/JetBrains/go-code-samples/blob/main/go-gin-react/go-gin-react-part3/main.go) - [GitHub - blackhorseya/godine: GoDine is an online food ordering system designed using Golang and following the principles of Domain-Driven Design (DDD).](https://github.com/blackhorseya/godine/tree/main) - [golang-101/simple-gorm-mariadb/main.go at main · blackhorseya/golang-101 · GitHub](https://github.com/blackhorseya/golang-101/blob/main/simple-gorm-mariadb/main.go) ## Build ### Dockerfile - [ Optimizing Multi-Stage Builds with Dockerfile in GoLang](https://medium.com/@kittipat_1413/optimizing-multi-stage-builds-with-dockerfile-in-golang-a2ee8ed37ec6) - ## Frameworks ### Echo - [Quick Start | Echo](https://echo.labstack.com/docs/quick-start) - [Golang Echo Tutorial: REST API with PostgreSQL](https://www.kelche.co/blog/go/golang-echo-tutorial/) - [JWT | Echo](https://echo.labstack.com/docs/middleware/jwt) - [Golang Echo Tutorial with Practical Examples](https://hayageek.com/golang-echo-tutorial/) ### Fiber - [📦 Fiber | Fiber](https://hayageek.com/golang-echo-tutorial/) - [Request and Response Handling in Fiber](https://withcodeexample.com/request-response-handling-fiber-powerful-web-apps/) - [JWT | Fiber](https://docs.gofiber.io/contrib/jwt_v1.x.x/jwt/) - [JWT | Fiber](https://docs.gofiber.io/contrib/jwt/) - [🎭 Grouping | Fiber](https://docs.gofiber.io/guide/grouping) - [Building an Express-style API in Go with Fiber - LogRocket Blog](https://blog.logrocket.com/express-style-api-go-fiber/) - [Build High-Performance Web Apps in Go Using Fiber Framework | Codez Up](https://codezup.com/go-fiber-web-apps/) ### Gin - [🌐 Golang RESTful API with Gin, Gorm, PostgreSQL 🐘 - DEV Community](https://dev.to/truongpx396/golang-restful-api-with-gin-gorm-postgresql-2hc) - [Building a REST API with Golang using Gin and Gorm - LogRocket Blog](https://blog.logrocket.com/rest-api-golang-gin-gorm/) - [RESTful API using GORM, Gin, and PostgreSQL in Go](https://techwasti.com/building-a-rest-api-with-gorm-gin-framework-and-postgresql-in-go) ### Bun - [Golang ORM for PostgreSQL and MySQL](https://bun.uptrace.dev/guide/golang-orm.html#q-how-do-i-handle-complex-where-conditions) - [Golang ORM for PostgreSQL and MySQL](https://bun.uptrace.dev/guide/golang-orm.html) - [uptrace/bun: SQL-first Golang ORM](https://github.com/uptrace/bun) -