Documentation
¶
Index ¶
- func AsyncCall(ctx context.Context, param consts.AsyncCallParam) (ret consts.AsyncCallResultList, err error)
- func CamelToUnderline(s string) string
- func ConvertSliceToInterfaceSlice(slice interface{}) []interface{}
- func ParseRPMName(rpmName string) (consts.PackageInfo, error)
- func ParseToJSON(data string, key string) (string, error)
- func RandomString(length int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsyncCall ¶
func AsyncCall(ctx context.Context, param consts.AsyncCallParam) (ret consts.AsyncCallResultList, err error)
AsyncCall 异步调用函数
func ConvertSliceToInterfaceSlice ¶
func ConvertSliceToInterfaceSlice(slice interface{}) []interface{}
ConvertSliceToInterfaceSlice 使用 reflect 将任何类型的切片转换为 []interface{}
func ParseRPMName ¶ added in v0.0.2
func ParseRPMName(rpmName string) (consts.PackageInfo, error)
func ParseToJSON ¶
ParseToJSON 解析字符串为 JSON 格式
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.