Skip to content

Commit

Permalink
update mod
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesun committed Jun 24, 2023
1 parent 1d716e4 commit ab5fab4
Show file tree
Hide file tree
Showing 120 changed files with 414 additions and 414 deletions.
12 changes: 6 additions & 6 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (

"github.com/robfig/cron/v3"
"github.com/spf13/cast"
"github.com/talkincode/toughradius/assets"
"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/common/zaplog"
"github.com/talkincode/toughradius/common/zaplog/log"
"github.com/talkincode/toughradius/config"
"github.com/talkincode/toughradius/models"
"github.com/talkincode/toughradius/v8/assets"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/common/zaplog"
"github.com/talkincode/toughradius/v8/common/zaplog/log"
"github.com/talkincode/toughradius/v8/config"
"github.com/talkincode/toughradius/v8/models"
bolt "go.etcd.io/bbolt"
"gorm.io/gorm"
)
Expand Down
14 changes: 7 additions & 7 deletions app/cwmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
"text/template"
"time"

"github.com/talkincode/toughradius/assets"
"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/common/cwmp"
"github.com/talkincode/toughradius/common/timeutil"
"github.com/talkincode/toughradius/common/web"
"github.com/talkincode/toughradius/common/zaplog/log"
"github.com/talkincode/toughradius/models"
"github.com/talkincode/toughradius/v8/assets"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/common/cwmp"
"github.com/talkincode/toughradius/v8/common/timeutil"
"github.com/talkincode/toughradius/v8/common/web"
"github.com/talkincode/toughradius/v8/common/zaplog/log"
"github.com/talkincode/toughradius/v8/models"
)

type CwmpEventTable struct {
Expand Down
8 changes: 4 additions & 4 deletions app/cwmp_preset.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"strings"
"time"

"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/common/cwmp"
"github.com/talkincode/toughradius/common/zaplog/log"
"github.com/talkincode/toughradius/models"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/common/cwmp"
"github.com/talkincode/toughradius/v8/common/zaplog/log"
"github.com/talkincode/toughradius/v8/models"
"gopkg.in/yaml.v2"
)

Expand Down
8 changes: 4 additions & 4 deletions app/cwmp_scheduled.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/common/cwmp"
"github.com/talkincode/toughradius/common/zaplog/log"
"github.com/talkincode/toughradius/models"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/common/cwmp"
"github.com/talkincode/toughradius/v8/common/zaplog/log"
"github.com/talkincode/toughradius/v8/models"
"gopkg.in/yaml.v2"
)

Expand Down
2 changes: 1 addition & 1 deletion app/cwmp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package app
import (
"testing"

"github.com/talkincode/toughradius/models"
"github.com/talkincode/toughradius/v8/models"
)

func TestMatchTaskTags(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions app/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/config"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/config"
"go.uber.org/zap"
"gorm.io/driver/postgres"
"gorm.io/gorm"
Expand Down
4 changes: 2 additions & 2 deletions app/i18n.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sort"
"strings"

"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/common/zaplog/log"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/common/zaplog/log"
bolt "go.etcd.io/bbolt"
)

Expand Down
4 changes: 2 additions & 2 deletions app/i18n_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package app
import (
"testing"

"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/config"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/config"
)

func TestApplication_Translate(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions app/initdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package app
import (
"time"

"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/models"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/models"
)

func (a *Application) checkSuper() {
Expand Down
4 changes: 2 additions & 2 deletions app/inittest.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package app
import (
"time"

"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/models"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/models"
)

func (a *Application) InitTest() {
Expand Down
6 changes: 3 additions & 3 deletions app/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"github.com/shirou/gopsutil/mem"
"github.com/shirou/gopsutil/process"
"github.com/spf13/cast"
"github.com/talkincode/toughradius/common/zaplog"
"github.com/talkincode/toughradius/common/zaplog/log"
"github.com/talkincode/toughradius/models"
"github.com/talkincode/toughradius/v8/common/zaplog"
"github.com/talkincode/toughradius/v8/common/zaplog/log"
"github.com/talkincode/toughradius/v8/models"
)

var cronParser = cron.NewParser(
Expand Down
2 changes: 1 addition & 1 deletion app/pagefunc.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"time"

"github.com/talkincode/toughradius/assets"
"github.com/talkincode/toughradius/v8/assets"
)

func (a *Application) GetTemplateFuncMap() map[string]interface{} {
Expand Down
2 changes: 1 addition & 1 deletion app/radius_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"time"

istats "github.com/montanaflynn/stats"
"github.com/talkincode/toughradius/common/zaplog"
"github.com/talkincode/toughradius/v8/common/zaplog"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion app/tr069_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"time"

istats "github.com/montanaflynn/stats"
"github.com/talkincode/toughradius/common/zaplog"
"github.com/talkincode/toughradius/v8/common/zaplog"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion commands/benchmark/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync/atomic"
"time"

"github.com/talkincode/toughradius/common/timeutil"
"github.com/talkincode/toughradius/v8/common/timeutil"
)

type BenchmarkStat struct {
Expand Down
4 changes: 2 additions & 2 deletions commands/benchmark/bmtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"github.com/shirou/gopsutil/cpu"
"github.com/shirou/gopsutil/host"
"github.com/shirou/gopsutil/mem"
"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/toughradius"
"github.com/talkincode/toughradius/v8/common"
"github.com/talkincode/toughradius/v8/toughradius"
"layeh.com/radius"
"layeh.com/radius/rfc2865"
"layeh.com/radius/rfc2866"
Expand Down
4 changes: 2 additions & 2 deletions commands/initdb/initdb.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/talkincode/toughradius/app"
"github.com/talkincode/toughradius/config"
"github.com/talkincode/toughradius/v8/app"
"github.com/talkincode/toughradius/v8/config"
)

// 开发环境初始化数据库
Expand Down
2 changes: 1 addition & 1 deletion commands/initdevcfg/initdevcfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/talkincode/toughradius/config"
"github.com/talkincode/toughradius/v8/config"
"gopkg.in/yaml.v2"
)

Expand Down
4 changes: 2 additions & 2 deletions commands/inittest/inittest.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/talkincode/toughradius/app"
"github.com/talkincode/toughradius/config"
"github.com/talkincode/toughradius/v8/app"
"github.com/talkincode/toughradius/v8/config"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/Download.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// Download type
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/DownloadResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// DownloadResponse download response
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/FactoryReset.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// FactoryReset cpe
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/FactoryResetResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// FactoryResetResponse
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/GetParameterNames.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// GetParameterNames get rpc methods
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/GetParameterNamesResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// GetParameterNamesResponse GetParameterNames reponse
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/GetParameterNames_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
_ "embed"
"testing"

"github.com/talkincode/toughradius/common"
"github.com/talkincode/toughradius/v8/common"
)

//go:embed GetParameterNames.xml
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/GetParameterValues.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// GetParameterValues get paramvalues
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/GetParameterValuesResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// GetParameterValuesResponse getParameterValues response
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/GetRPCMethods.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// GetRPCMethods get rpc methods
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/GetRPCMethodsResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// GetRPCMethodsResponse getRPCMethods reponse
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/Inform.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// Inform tr069 inform (heartbeat)
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/InformResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// InformResponse infrom response
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/Message.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cwmp
import (
"encoding/xml"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/OnlineInform.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cwmp

import (
"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// OnlineInform online client
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/Parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cwmp
import (
"errors"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// ParseXML parse xml msg
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/Reboot.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// Reboot reboot cpe
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/RebootResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// RebootResponse reboot response
Expand Down
2 changes: 1 addition & 1 deletion common/cwmp/ScheduleInform.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/talkincode/toughradius/common/xmlx"
"github.com/talkincode/toughradius/v8/common/xmlx"
)

// ScheduleInform cpe
Expand Down
Loading

0 comments on commit ab5fab4

Please sign in to comment.