(str, separator string)
| 63 | } |
| 64 | |
| 65 | func splitStringFloat64Str(str, separator string) (string, float64) { |
| 66 | strList := strings.Split(str, separator) |
| 67 | firstItem := strList[0] |
| 68 | secondItem, _ := strconv2.StrToFloat64(strList[1]) |
| 69 | return firstItem, secondItem |
| 70 | } |
| 71 | |
| 72 | func createNewBufferWithSize(size int) *bytes.Buffer { |
| 73 | buf := new(bytes.Buffer) |
no outgoing calls
no test coverage detected