Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostModelToPostV1 ¶
PostModelToPostV1 将模型层的 PostM(博客模型对象)转换为 Protobuf 层的 Post(v1 博客对象).
func PostV1ToPostModel ¶
PostV1ToPostModel 将 Protobuf 层的 Post(v1 博客对象)转换为模型层的 PostM(博客模型对象).
func UserModelToUserV1 ¶
UserModelToUserV1 将模型层的 UserM(用户模型对象)转换为 Protobuf 层的 User(v1 用户对象).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.