Commit 6743633
authored
refactor: textarea handling to use pointer-based implementation (#218)
- Add a blank line for better readability in `commit.go`
- Change `textarea` field to be a pointer in `textarea.go`
- Update `textarea` initialization to use a pointer in `textarea.go`
- Modify `textarea` update method to dereference the pointer in `textarea.go`
Signed-off-by: appleboy <appleboy.tw@gmail.com>1 parent 4e891ac commit 6743633
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments