浏览代码

Changed repository location

luis 7 年之前
父节点
当前提交
3f37de63b5
共有 2 个文件被更改,包括 10 次插入5 次删除
  1. 2 2
      binAssets/binAssets.go
  2. 8 3
      main.go

文件差异内容过多而无法显示
+ 2 - 2
binAssets/binAssets.go


+ 8 - 3
main.go

@@ -5,17 +5,22 @@ package main
 
 import (
 	"fmt"
-	"hexasoftware/cmd/httpServe/binAssets"
-	_ "hexasoftware/lib/prettylog/global"
 	"io"
 	"io/ioutil"
-	"log"
 	"mime"
 	"net"
 	"net/http"
 	"os"
 	"path/filepath"
 	"strings"
+
+	"dev.hexasoftware.com/hxs/httpServe/binAssets"
+
+	"dev.hexasoftware.com/hxs/prettylog"
+)
+
+var (
+	log = prettylog.New("httpServe")
 )
 
 func CreateHandleFunc(prefix string) func(http.ResponseWriter, *http.Request) {