修改导包顺序

This commit is contained in:
dushixiang
2021-03-19 20:53:59 +08:00
parent 3b8f081c36
commit 19ddb9ad97
18 changed files with 51 additions and 28 deletions

View File

@ -4,16 +4,18 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/robfig/cron/v3"
"github.com/sirupsen/logrus"
"strings"
"time"
"next-terminal/server/constant"
"next-terminal/server/global"
"next-terminal/server/model"
"next-terminal/server/repository"
"next-terminal/server/term"
"next-terminal/server/utils"
"strings"
"time"
"github.com/robfig/cron/v3"
"github.com/sirupsen/logrus"
)
type JobService struct {

View File

@ -1,11 +1,13 @@
package service
import (
"github.com/jordan-wright/email"
"github.com/sirupsen/logrus"
"net/smtp"
"next-terminal/server/constant"
"next-terminal/server/repository"
"github.com/jordan-wright/email"
"github.com/sirupsen/logrus"
)
type MailService struct {

View File

@ -1,11 +1,12 @@
package service
import (
"os"
"next-terminal/server/guacd"
"next-terminal/server/model"
"next-terminal/server/repository"
"next-terminal/server/utils"
"os"
)
type PropertyService struct {

View File

@ -1,11 +1,12 @@
package service
import (
"github.com/sirupsen/logrus"
"next-terminal/server/constant"
"next-terminal/server/model"
"next-terminal/server/repository"
"next-terminal/server/utils"
"github.com/sirupsen/logrus"
)
type UserService struct {