Writers/Fellow
datphamcode295
Former Backend
Fellow
6 notes since 2023, 0 in the last 12 months.
Written at Dwarves
Latest- 31 Jul 2024Design a file-sharing system: directory structure, permissions and passwords
How I designed a Google Drive-style file storage and sharing system for our website, covering the data model, a path field for the folder hierarchy, role-based permissions with inheritance, public sharing and password protection.
- 8 Aug 2023Level up Go unit tests with Gomock mock objects
Learn how to use Gomock in Go to create mock objects, isolate dependencies, and write effective unit tests that improve code quality and detect bugs early.
- 8 Aug 2023Test doubles in Go, part 1: dummies and stubs
What test doubles are, when and why to use them in Go, and how dummies and stubs work with code examples.
All notes
6- 31 Jul 2024Design a file-sharing system: directory structure, permissions and passwordsPuzzleArchitecture
- 8 Aug 2023Level up Go unit tests with Gomock mock objectsResearch notesProduction readiness
- 8 Aug 2023Test doubles in Go, part 1: dummies and stubsResearch notesLanguages
- 8 Aug 2023Test doubles in Go, part 2: spies, mocks, fakes and best practicesResearch notesLanguages
- 8 Aug 2023Testing made simple: best practices for Go testsResearch notesProduction readiness
- 4 May 2023Message queues and streaming platforms eg Kafka Nats RabbitmqResearch notesLanguages