From 8cb76d366f379d83802ffb3b0d37e462cfc8c5e8 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 26 Jan 2019 16:03:56 +0700 Subject: cmd/rescached: add package name to non-importable packages This is a fix for `goimports` warnings. --- cmd/rescached/config.go | 2 +- cmd/rescached/main.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'cmd') 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 { -- cgit v1.3-6-g1900