package
0.10.3
Repository: https://github.com/cloudwego/kitex.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Running Prerequisites

  • Run command go install github.com/golang/mock/mockgen@latest to install gomock
  • Run command git clone github.com/cloudwego/netpoll to clone netpoll in the parent directory of kitex.

User's Guidance

  • Add a line under the files parameter of update.sh.
  • Fill in the go file path where the interface you want to mock is located.
  • Fill in the path of the output mock file.
  • Fill in the package name of the output mock file.
  • Run sh update.sh to update mock files.
  • Now you can use the generated gomock class to mock interface. Refer to https://github.com/golang/mock.