summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-07-07 00:34:55 +0800
committerKeuin <[email protected]>2023-07-07 00:34:55 +0800
commit7fd817f6d1ead3de85294c1893a6e1572a1d12e3 (patch)
tree38b9f13104fe208449b679a2b77959dea5ab1b4e /common
parent6eb5a7af48d04adc5625cbc8355e2556db4b992f (diff)
Refactor: move file operations into single package.
Diffstat (limited to 'common')
-rw-r--r--common/files/bytesize.go (renamed from common/bytesize.go)2
-rw-r--r--common/files/bytesize_test.go (renamed from common/bytesize_test.go)2
-rw-r--r--common/files/filename.go (renamed from common/filename.go)2
3 files changed, 3 insertions, 3 deletions
diff --git a/common/bytesize.go b/common/files/bytesize.go
index 9b3aa97..95f857a 100644
--- a/common/bytesize.go
+++ b/common/files/bytesize.go
@@ -1,4 +1,4 @@
-package common
+package files
import "fmt"
diff --git a/common/bytesize_test.go b/common/files/bytesize_test.go
index b68ee4c..970c242 100644
--- a/common/bytesize_test.go
+++ b/common/files/bytesize_test.go
@@ -1,4 +1,4 @@
-package common
+package files
import (
"testing"
diff --git a/common/filename.go b/common/files/filename.go
index aedd377..725563c 100644
--- a/common/filename.go
+++ b/common/files/filename.go
@@ -1,4 +1,4 @@
-package common
+package files
import "fmt"