(s string, c byte)
| 9 | ) |
| 10 | |
| 11 | func IndexByte(s string, c byte) int { |
| 12 | return js.InternalObject(s).Call("indexOf", js.Global.Get("String").Call("fromCharCode", c)).Int() |
| 13 | } |
| 14 | |
| 15 | func Index(s, sep string) int { |
| 16 | return js.InternalObject(s).Call("indexOf", js.InternalObject(sep)).Int() |
nothing calls this directly
no test coverage detected
searching dependent graphs…