MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / case2Camel

Function case2Camel

cli/pkg/common/websocket.go:88–92  ·  view source on GitHub ↗

** * Description: 下划线写法转为驼峰写法 * author: kenanlu@leansoftx.com * param: name * create on: 2021-04-17 08:56:25 * return: string */

(name string)

Source from the content-addressed store, hash-verified

86 * return: string
87 */
88func case2Camel(name string) string {
89 name = strings.Replace(name, "_", " ", -1)
90 name = strings.Title(name)
91 return strings.Replace(name, " ", "", -1)
92}
93
94/**
95 * Description: websocket客户端接收数据指令调用对应函数

Callers 1

ClientCodeToFuncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected