Day 9: Golang monolith mastery by @codersGyan
1. Built user signup with database migrations.
2. Added input validation and bcrypt password hashing.
https://t.co/9YDAIwBbOB
Day 9: Golang monolith mastery by @codersGyan
1. Built user signup with database migrations.
2. Added input validation and bcrypt password hashing.
https://t.co/9YDAIwBbOB
Day 6: Golang monolith mastery by @codersGyan
Key takeaways:
1. Used in-built library log/slog package.
2. Slog logging levels: Debug, Info, Warn and Error.
https://t.co/ujpKOrWR8S
Day 6: Golang monolith mastery by @codersGyan
Key takeaways:
1. Used in-built library log/slog package.
2. Slog logging levels: Debug, Info, Warn and Error.
https://t.co/ujpKOrWR8S
Day 5: Golang monolith mastery by @codersGyan
Key takeaways:
1. Zombie queries are threat to production.
2. QueryContext() to cancel db work when the client has already cancelled the request.
3. Can be used with third-party API calls.
https://t.co/4Wq29NEpuZ
Day 5: Golang monolith mastery by @codersGyan
Key takeaways:
1. Zombie queries are threat to production.
2. QueryContext() to cancel db work when the client has already cancelled the request.
3. Can be used with third-party API calls.
https://t.co/4Wq29NEpuZ
Day 4: Golang monolith mastery by @codersGyan
Key takeaways:
1. Spin up postgress in docker desktop.
2. Use SQLTools extension for viewing it in my vscode.
Later, I'll go with Neon.
https://t.co/tjVDLvE7Ih
Day 4: Golang monolith mastery by @codersGyan
Key takeaways:
1. Spin up postgress in docker desktop.
2. Use SQLTools extension for viewing it in my vscode.
Later, I'll go with Neon.
https://t.co/tjVDLvE7Ih
Day 2: Golang monolith mastery by @codersGyan
Key takeaways:
1. Built a rough HTTP server using only inbuilt go library.
2. Refactoring main.go for configuration logic in config package and used Must pattern.
3. Fail Fast whenever any configuration is missing at startup.
Day 2: Golang monolith mastery by @codersGyan
Key takeaways:
1. Built a rough HTTP server using only inbuilt go library.
2. Refactoring main.go for configuration logic in config package and used Must pattern.
3. Fail Fast whenever any configuration is missing at startup.
@codersGyan Day 3: Golang monolith mastery with @codersGyan
Key Takeaways:
1. Configured pgx driver and connection pooling
2. Safe database migration rollbacks
- up : applies migration
- down: roll back all migrations (accidental data loss)
- steps(-1): roll back to previous migration