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

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

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

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

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

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

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

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

Loading…
Cancel
Save