Img_1302-edit-edit_large

Eli Sarver

All Categories: golang(1) go(1) gokit.io(1) home

Layers

Don't mix business logic with service logic

Go kit has a pretty opinionated view about how a Go-based micro-service should work:

  1. You start with core business logic
  2. Then wrap it in flexible layers adding
  3. Handlers
  4. Endpoints
  5. Transports

Though it seems tedious at first, I found myself feeling a certain clarity while working on a small experiment . . .

Read More

Posted in: golanggokit.iogo

February 21, 2017

All Categories: golang(1) go(1) gokit.io(1) home