diff options
| author | Shulhan <ms@kilabit.info> | 2019-01-26 16:03:56 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-01-26 16:10:55 +0700 |
| commit | 8cb76d366f379d83802ffb3b0d37e462cfc8c5e8 (patch) | |
| tree | 34c14c3263733edbebe23c0ec94be044337cd179 /cmd | |
| parent | 154f569a994c4a091f3c9d53b751bcd6f418c172 (diff) | |
| download | rescached-8cb76d366f379d83802ffb3b0d37e462cfc8c5e8.tar.xz | |
cmd/rescached: add package name to non-importable packages
This is a fix for `goimports` warnings.
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/rescached/config.go | 2 | ||||
| -rw-r--r-- | cmd/rescached/main.go | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cmd/rescached/config.go b/cmd/rescached/config.go index 15b6aa4..a6fe9fd 100644 --- a/cmd/rescached/config.go +++ b/cmd/rescached/config.go @@ -16,7 +16,7 @@ import ( "github.com/shuLhan/share/lib/ini" libnet "github.com/shuLhan/share/lib/net" - "github.com/shuLhan/rescached-go" + rescached "github.com/shuLhan/rescached-go" ) // List of config sections. diff --git a/cmd/rescached/main.go b/cmd/rescached/main.go index 047aae6..bb5ff25 100644 --- a/cmd/rescached/main.go +++ b/cmd/rescached/main.go @@ -16,8 +16,9 @@ import ( "syscall" "time" - "github.com/shuLhan/rescached-go" "github.com/shuLhan/share/lib/debug" + + rescached "github.com/shuLhan/rescached-go" ) func createRescachedServer(fileConfig string) *rescached.Server { |
