Skip to content

Commit 832c7de

Browse files
committed
config: Remove unused GetAutoTime()
1 parent a678d42 commit 832c7de

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/config/autosave.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ func SetAutoTime(a int) {
2121
autolock.Unlock()
2222
}
2323

24-
func GetAutoTime() int {
25-
autolock.Lock()
26-
a := autotime
27-
autolock.Unlock()
28-
return a
29-
}
30-
3124
func StartAutoSave() {
3225
go func() {
3326
for {

0 commit comments

Comments
 (0)