Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 994 Bytes

TODO.md

File metadata and controls

49 lines (37 loc) · 994 Bytes

TODO List

Golang

  • Interface in Go
  • What is interface
  • Go interface v.s. Java interface
  • Where do you declare Go interface?
  • Embedding in Go
  • What is embedding?
  • Embedding is composition, not inheritance
  • Scopes in Go
  • Introduction
  • Scopes based on folders, not on structs
  • Domain Driven

    • Introduction: Preface: Microservice architecture is becoming more and more popular. It is driven by domain driven. Go is very good in web development. This serials blogs is for share my thought about how to write go code & organize your microservices with domain driven manner. Background: What are microservices: For example: codex: one v.s. email & user & question & comment What is Domain Driven: Question: API server service layout repo

    • responsibilities API | event handler Service layer Repo layer Example

    • Layout: Project layout: Module layout:

    • Data model read / write segregation tied with duties