diff options
| author | Shulhan <ms@kilabit.info> | 2018-09-01 10:07:28 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-09-01 10:07:28 +0700 |
| commit | e415810d38a166d9ecb91d56bc04a6c8a487b2c2 (patch) | |
| tree | 00c544bdcfa241c4737bf446af011d1eff53aaf4 /lib/time | |
| parent | 9491d1e7c29aa0f4965418c36f039f95ac7e8d37 (diff) | |
| download | pakakeh.go-e415810d38a166d9ecb91d56bc04a6c8a487b2c2.tar.xz | |
Rename "lib/file" to "lib/io"
Diffstat (limited to 'lib/time')
| -rw-r--r-- | lib/time/duration.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/time/duration.go b/lib/time/duration.go index 6cac2ca7..7c665a6d 100644 --- a/lib/time/duration.go +++ b/lib/time/duration.go @@ -9,7 +9,7 @@ import ( "strconv" "time" - libfile "github.com/shuLhan/share/lib/file" + libio "github.com/shuLhan/share/lib/io" libtext "github.com/shuLhan/share/lib/text" ) @@ -37,7 +37,7 @@ func ParseDuration(s string) (time.Duration, error) { seps := []byte{'w', 'd', 'h', 'm', 's', 'u', 'n'} - reader := &libfile.Reader{} + reader := &libio.Reader{} reader.Init(s) c := reader.SkipSpace() |
