Alice52 / go-tutorial

This repository records golang learning process
MIT License
0 stars 0 forks source link

[framework] framework #5

Open Alice52 opened 1 year ago

Alice52 commented 1 year ago

practice

  1. gin module: oneid-aacs
  2. gin with auth & permission: gav-server + plugin-adkits
  3. go-zero: gz-template

framework

  1. sdk-pkg
  2. testing
  3. orm
  4. web
  5. go-zero
Alice52 commented 1 year ago

testing

  1. goconvey 单元测试 + Web-UI
  2. benchmark 基准测试
  3. net: httptest{server} + gock{client}
  4. redis: miniredis
  5. mysql: go-sqlmock{不真实存储数据}
  6. 打桩: monkey || gostub(全局变量打桩)
  7. 接口: monkey || gomock#mockgen

  1. assert: github.com/stretchr/testify
Alice52 commented 1 year ago

sdk-pkg

  1. fmt
    1. testing
    2. strings | strconv
    3. log
    4. json
    5. gookit
Alice52 commented 1 year ago

orm

  1. gorm
  2. gorm-gen
  3. gorm-gen-yaml

reference

  1. https://zhuanlan.zhihu.com/p/653483236
  2. https://github.com/alice52/archive/blob/master/bili/source/gen/generate.go
Alice52 commented 1 year ago

web

  1. gin
  2. go-zero
  3. zap
  4. viper
  5. json-iterator
  6. golang-migrate
  7. gorm
  8. conc
Alice52 commented 5 months ago

concurent

  1. conc