The book then teaches various aspects of database integration with GORM, covering topics such as connecting to SQL databases, performing CRUD operations, managing migrations, and handling transactions and concurrency control. The Gin framework for designing and implementing microservices, REST and gRPC for inter-service communication, and Kubernetes for containerizing applications are also covered in detail. Also covered is message brokering with Apache Kafka and NSQ for asynchronous systems, which guarantees resilient systems and efficient message delivery. Secure coding practices, HTTPS with crypto/tls, avoiding SQL injections and XSS attacks, and configuration management with Viper are also one of the main goal of the book.
Last but not least, the book covers testing and debugging with tools such as Delve, Testify, and GoMock. It then teaches readers through various deployment strategies, such as blue-green, canary, and rolling deployments with AWS CodeDeploy. Utilizing Go's robust features and clean scripting capabilities, this book provides you with the necessary knowledge and skills to develop secure, scalable, and resilient backend systems.
Key Learnings
- Use gorilla/mux to implement advanced routing techniques for flexible URL handling.
- Implement strong API security with user authentication using OAuth2 and JWT.
- Make use of GORM's advanced capabilities of migrations and transactions, to integrate SQL databases.
- Use Gin, Kubernetes, and gRPC to build and launch scalable microservices.
- Make use of NSQ and Kafka for asynchronous processing.
- Prevent frequent vulnerabilities of SQL injection and XSS attacks.
- Use Testify, GoMock, and Delve to streamline testing and debugging.
- Use AWS CodeDeploy with blue-green and canary deployment strategies to deploy applications.
Table of Content
- Understanding Go for Backend Development
- Building a Basic Web Server with net/http
- Advanced Routing with gorilla/mux
- User Authentication with Oauth2 and JWT
- Integrating Databases with GORM
- Creating Microservices in Go
- Message Brokering with NSQ and Apache Kafka
- Securing Go Applications
- Testing and Debugging Go Applications
- Deploying Go Applications
Dieser Download kann aus rechtlichen Gründen nur mit Rechnungsadresse in A, B, CY, CZ, D, DK, EW, E, FIN, F, GR, H, IRL, I, LT, L, LR, M, NL, PL, P, R, S, SLO, SK ausgeliefert werden.