package
0.0.0-20240627020241-bd77024ea80d
Repository: https://github.com/yinjk/go-utils.git
Documentation: pkg.go.dev

# Packages

@Desc: All status code definitions in this file for this system.
@Desc@Date 2019-11-21 14:00@Author yinjk.

# Functions

* * 返回一个失败的结果 * returns a failed result to solace * * @param errorCode: the code of err * @param msg: the description for this failed call * @return: The pointer for Result struct */.
* * 返回一个成功的结果 * return a success result to solace * * @param data: the data who is into Result struct * @return: The pointer for Result struct */.

# Constants

No description provided by the author

# Structs

Result encapsulation of all return message, code is the status code, if success, the status code is 0, if fail, may be other.