mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-03-04 21:04:43 +00:00
style: Module name
This commit is contained in:
@@ -5,11 +5,11 @@ import (
|
||||
ut "github.com/go-playground/universal-translator"
|
||||
"github.com/go-playground/validator/v10"
|
||||
"github.com/go-redis/redis/v8"
|
||||
"github.com/lejianwen/rustdesk-api/config"
|
||||
"github.com/lejianwen/rustdesk-api/lib/cache"
|
||||
"github.com/lejianwen/rustdesk-api/lib/jwt"
|
||||
"github.com/lejianwen/rustdesk-api/lib/lock"
|
||||
"github.com/lejianwen/rustdesk-api/lib/upload"
|
||||
"github.com/lejianwen/rustdesk-api/v2/config"
|
||||
"github.com/lejianwen/rustdesk-api/v2/lib/cache"
|
||||
"github.com/lejianwen/rustdesk-api/v2/lib/jwt"
|
||||
"github.com/lejianwen/rustdesk-api/v2/lib/lock"
|
||||
"github.com/lejianwen/rustdesk-api/v2/lib/upload"
|
||||
"github.com/nicksnyder/go-i18n/v2/i18n"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
@@ -15,7 +15,6 @@ func InitI18n() {
|
||||
fileInfos, err := os.ReadDir(dir)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
return
|
||||
}
|
||||
for _, fileInfo := range fileInfos {
|
||||
//如果文件名不是.toml结尾
|
||||
|
||||
Reference in New Issue
Block a user