perf: update project name

main
zggsong 2 years ago
parent 93df4e11dd
commit 9b412047ea

2
.gitignore vendored

@ -1,4 +1,4 @@
ksat-mrsb luxshare-mrsb
.idea .idea

@ -13,8 +13,8 @@ RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone RUN echo "Asia/Shanghai" > /etc/timezone
COPY ksat-mrsb "/app/ksat-mrsb" COPY luxshare-mrsb "/app/luxshare-mrsb"
EXPOSE 7201 EXPOSE 7201
ENTRYPOINT ["./ksat-mrsb"] ENTRYPOINT ["./luxshare-mrsb"]

@ -1,6 +1,6 @@
package global package global
import "ksat-mrsb/config" import "luxshare-mrsb/config"
var ( var (
GLO_CONFIG config.Config GLO_CONFIG config.Config

@ -1,4 +1,4 @@
module ksat-mrsb module luxshare-mrsb
go 1.18 go 1.18

@ -1,13 +1,14 @@
package main package main
import ( import (
log "github.com/sirupsen/logrus" "luxshare-mrsb/config"
"gopkg.in/natefinch/lumberjack.v2" "luxshare-mrsb/global"
"ksat-mrsb/config" "luxshare-mrsb/serve"
"ksat-mrsb/global"
"ksat-mrsb/serve"
"net/http" "net/http"
"os" "os"
log "github.com/sirupsen/logrus"
"gopkg.in/natefinch/lumberjack.v2"
) )
func init() { func init() {

@ -6,7 +6,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"ksat-mrsb/model" "luxshare-mrsb/model"
"net/http" "net/http"
"net/url" "net/url"
"strings" "strings"

@ -4,7 +4,6 @@ import (
"bytes" "bytes"
"encoding/base64" "encoding/base64"
"fmt" "fmt"
log "github.com/sirupsen/logrus"
"image" "image"
_ "image/gif" _ "image/gif"
"image/jpeg" "image/jpeg"
@ -12,13 +11,15 @@ import (
_ "image/png" _ "image/png"
"io" "io"
"io/ioutil" "io/ioutil"
"ksat-mrsb/global" "luxshare-mrsb/global"
"ksat-mrsb/serve/core" "luxshare-mrsb/serve/core"
"ksat-mrsb/util" "luxshare-mrsb/util"
"net/http" "net/http"
"os" "os"
"strconv" "strconv"
"time" "time"
log "github.com/sirupsen/logrus"
) )
// //

@ -3,12 +3,13 @@ package util
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/fsnotify/fsnotify"
log "github.com/sirupsen/logrus"
"io/ioutil" "io/ioutil"
"ksat-mrsb/global" "luxshare-mrsb/global"
"ksat-mrsb/model" "luxshare-mrsb/model"
"net/http" "net/http"
"github.com/fsnotify/fsnotify"
log "github.com/sirupsen/logrus"
) )
// //

Loading…
Cancel
Save