Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit b201cc9

Browse files
committed
メソッドが分かりやすいように修正
1 parent 45766e2 commit b201cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ val srcMap = mapOf("snake_case" to "SnakeCase")
7070

7171
class Dst(val snakeCase: String)
7272

73-
val dst: Dst = KMapper(::DataClass) { it.toSnakeCase }.map(src)
73+
val dst: Dst = KMapper(::DataClass) { camelToSnake(it) }.map(src)
7474
```
7575

7676
### Map param to another class

0 commit comments

Comments
 (0)