formatName will convert to first character to lower case
(name string)
| 97 | |
| 98 | // formatName will convert to first character to lower case |
| 99 | func formatName(name string) string { |
| 100 | ret := []rune(name) |
| 101 | if len(ret) > 0 { |
| 102 | ret[0] = unicode.ToLower(ret[0]) |
| 103 | } |
| 104 | return string(ret) |
| 105 | } |
| 106 | |
| 107 | // suitableCallbacks iterates over the methods of the given type. It will determine if a method satisfies the criteria |
| 108 | // for a RPC callback or a subscription callback and adds it to the collection of callbacks or subscriptions. See server |
no outgoing calls
no test coverage detected