From f22e059172e7dcaba77428f37be5437595ce90e8 Mon Sep 17 00:00:00 2001 From: hoteas <925970985@qq.com> Date: Wed, 29 Apr 2020 23:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E7=A7=BB=E5=8A=A8=E5=88=B0go?= =?UTF-8?q?lang=E7=BB=84=E7=BB=87=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 36 +++++++++++++++++++++++++++++++++--- cache/cache_redis.go | 2 +- dri/download/download.go | 2 +- dri/upload/upload.go | 2 +- example/main.go | 4 ++-- manage/manage.go | 2 +- tools/db/auto.go | 6 +++--- tools/mysql/mysql.go | 2 +- tools/sqlite/sqlite.go | 2 +- 9 files changed, 44 insertions(+), 14 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 743c38e..53cf7e2 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,15 @@ + + + + + + + + \ No newline at end of file diff --git a/cache/cache_redis.go b/cache/cache_redis.go index c7baf78..1688053 100644 --- a/cache/cache_redis.go +++ b/cache/cache_redis.go @@ -1,7 +1,7 @@ package cache import ( - . "code.hoteas.com/hoteas/hotime" + . "code.hoteas.com/golang/hotime" "github.com/garyburd/redigo/redis" "strings" "time" diff --git a/dri/download/download.go b/dri/download/download.go index abe4924..6ad0801 100644 --- a/dri/download/download.go +++ b/dri/download/download.go @@ -2,7 +2,7 @@ package download import ( "bytes" - "code.hoteas.com/hoteas/hotime" + "code.hoteas.com/golang/hotime" "io" "io/ioutil" "net/http" diff --git a/dri/upload/upload.go b/dri/upload/upload.go index d87565a..0b5a043 100644 --- a/dri/upload/upload.go +++ b/dri/upload/upload.go @@ -1,7 +1,7 @@ package upload import ( - "code.hoteas.com/hoteas/hotime" + "code.hoteas.com/golang/hotime" "errors" "io" "mime/multipart" diff --git a/example/main.go b/example/main.go index 71d64f4..9066f02 100644 --- a/example/main.go +++ b/example/main.go @@ -1,8 +1,8 @@ package main import ( - "code.hoteas.com/hoteas/hotime" - "code.hoteas.com/hoteas/hotime/tools/db" + "code.hoteas.com/golang/hotime" + "code.hoteas.com/golang/hotime/tools/db" "fmt" //"go.hoteas.com/hotime/cache" "golang.org/x/net/websocket" diff --git a/manage/manage.go b/manage/manage.go index 5bbac12..38fdbe6 100644 --- a/manage/manage.go +++ b/manage/manage.go @@ -1,7 +1,7 @@ package manage import ( - "code.hoteas.com/hoteas/hotime" + "code.hoteas.com/golang/hotime" "fmt" _ "github.com/go-sql-driver/mysql" "golang.org/x/net/websocket" diff --git a/tools/db/auto.go b/tools/db/auto.go index b648fa2..261ea10 100644 --- a/tools/db/auto.go +++ b/tools/db/auto.go @@ -1,9 +1,9 @@ package db import ( - "code.hoteas.com/hoteas/hotime" - "code.hoteas.com/hoteas/hotime/tools/mysql" - "code.hoteas.com/hoteas/hotime/tools/sqlite" + "code.hoteas.com/golang/hotime" + "code.hoteas.com/golang/hotime/tools/mysql" + "code.hoteas.com/golang/hotime/tools/sqlite" "strings" ) diff --git a/tools/mysql/mysql.go b/tools/mysql/mysql.go index 4d290be..23cfb3a 100644 --- a/tools/mysql/mysql.go +++ b/tools/mysql/mysql.go @@ -1,7 +1,7 @@ package mysql import ( - "code.hoteas.com/hoteas/hotime" + "code.hoteas.com/golang/hotime" "database/sql" _ "github.com/go-sql-driver/mysql" ) diff --git a/tools/sqlite/sqlite.go b/tools/sqlite/sqlite.go index bea0e04..e7d9534 100644 --- a/tools/sqlite/sqlite.go +++ b/tools/sqlite/sqlite.go @@ -1,7 +1,7 @@ package sqlite import ( - "code.hoteas.com/hoteas/hotime" + "code.hoteas.com/golang/hotime" "database/sql" _ "github.com/mattn/go-sqlite3" )