Development Flow

The development process here is not a concept with our actual business development process. The definition here is limited to the use of go-zero, that is, the development details at the code level.

Development Flow#

  • Goctl environment preparation [1]
  • Database Design
  • Business development
  • New Construction
  • Create service catalog
  • Create service type (api/rpc/rmq/job/script)
  • Write api and proto files
  • Code generation
  • Generate database access layer code model
  • Configuration config, yaml change
  • Resource dependency filling (ServiceContext)
  • Add middleware
  • Business code filling
  • Error handling

Development Tools#

  • Visual Studio Code
  • Goland (recommended)
Last updated on