(s string)
| 33 | } |
| 34 | |
| 35 | func convert(s string) string { |
| 36 | ss := strings.Split(s, "_") |
| 37 | ans := strings.Join(ss, " ") |
| 38 | return firstUpper(ans) |
| 39 | } |
| 40 | |
| 41 | func writeFile(name string, data interface{}) { |
| 42 | f, err := os.Open(fmt.Sprintf("../alist-web/src/lang/en/%s.json", name)) |
no test coverage detected