Skip to content

Commit

Permalink
chore: mv internal/data => config/data
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Jan 5, 2024
1 parent 5a4d06f commit 5b9c637
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"log/slog"

FlareData "github.com/soulteary/flare/internal/data"
FlareData "github.com/soulteary/flare/config/data"
FlareLogger "github.com/soulteary/flare/internal/logger"
FlareState "github.com/soulteary/flare/internal/state"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
flags "github.com/spf13/pflag"
"gopkg.in/ini.v1"

FlareData "github.com/soulteary/flare/internal/data"
FlareData "github.com/soulteary/flare/config/data"
FlareLogger "github.com/soulteary/flare/internal/logger"
FlareModel "github.com/soulteary/flare/internal/model"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/data/bookmark.go → config/data/bookmark.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion internal/data/config.go → config/data/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion internal/data/editor.go → config/data/editor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"log"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion internal/data/fs.go → config/data/fs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"log"
Expand Down
2 changes: 1 addition & 1 deletion internal/data/fs_test.go → config/data/fs_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion internal/data/serializer.go → config/data/serializer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"bytes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion internal/data/settings.go → config/data/settings.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
FlareModel "github.com/soulteary/flare/internal/model"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package data
package FlareData

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion internal/editor/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/gin-gonic/gin"
"github.com/soulteary/memfs"

FlareData "github.com/soulteary/flare/config/data"
FlareAuth "github.com/soulteary/flare/internal/auth"
FlareData "github.com/soulteary/flare/internal/data"
FlareState "github.com/soulteary/flare/internal/state"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/pages/home/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"html/template"
"strings"

FlareData "github.com/soulteary/flare/internal/data"
FlareData "github.com/soulteary/flare/config/data"
FlareModel "github.com/soulteary/flare/internal/model"
FlareMDI "github.com/soulteary/flare/internal/resources/mdi"
FlareState "github.com/soulteary/flare/internal/state"
Expand Down
2 changes: 1 addition & 1 deletion internal/pages/home/bookmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"html/template"
"strings"

FlareData "github.com/soulteary/flare/internal/data"
FlareData "github.com/soulteary/flare/config/data"
FlareModel "github.com/soulteary/flare/internal/model"
FlareMDI "github.com/soulteary/flare/internal/resources/mdi"
FlareState "github.com/soulteary/flare/internal/state"
Expand Down
2 changes: 1 addition & 1 deletion internal/pages/home/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

"github.com/gin-gonic/gin"

FlareData "github.com/soulteary/flare/config/data"
FlareAuth "github.com/soulteary/flare/internal/auth"
FlareData "github.com/soulteary/flare/internal/data"
FlareModel "github.com/soulteary/flare/internal/model"
FlareWeather "github.com/soulteary/flare/internal/settings/weather"
FlareState "github.com/soulteary/flare/internal/state"
Expand Down
2 changes: 1 addition & 1 deletion internal/redir/redir.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/gin-gonic/gin"

FlareData "github.com/soulteary/flare/internal/data"
FlareData "github.com/soulteary/flare/config/data"
FlareState "github.com/soulteary/flare/internal/state"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/settings/appearance/appearance.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/gin-gonic/gin"

FlareData "github.com/soulteary/flare/config/data"
FlareAuth "github.com/soulteary/flare/internal/auth"
FlareData "github.com/soulteary/flare/internal/data"
FlareModel "github.com/soulteary/flare/internal/model"
FlareState "github.com/soulteary/flare/internal/state"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/settings/others/others.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/gin-gonic/gin"

FlareData "github.com/soulteary/flare/config/data"
FlareAuth "github.com/soulteary/flare/internal/auth"
FlareData "github.com/soulteary/flare/internal/data"
FlareState "github.com/soulteary/flare/internal/state"
FlareVersion "github.com/soulteary/flare/internal/version"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/settings/search/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/gin-gonic/gin"

FlareData "github.com/soulteary/flare/config/data"
FlareAuth "github.com/soulteary/flare/internal/auth"
FlareData "github.com/soulteary/flare/internal/data"
FlareState "github.com/soulteary/flare/internal/state"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/settings/theme/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/gin-gonic/gin"

FlareData "github.com/soulteary/flare/config/data"
FlareAuth "github.com/soulteary/flare/internal/auth"
FlareData "github.com/soulteary/flare/internal/data"
FlareState "github.com/soulteary/flare/internal/state"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/settings/weather/weather.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/gin-gonic/gin"

FlareData "github.com/soulteary/flare/config/data"
FlareAuth "github.com/soulteary/flare/internal/auth"
FlareData "github.com/soulteary/flare/internal/data"
FlareModel "github.com/soulteary/flare/internal/model"
FlareState "github.com/soulteary/flare/internal/state"
weather "github.com/soulteary/funny-china-weather"
Expand Down
2 changes: 1 addition & 1 deletion internal/state/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package state
import (
"html/template"

FlareData "github.com/soulteary/flare/internal/data"
FlareData "github.com/soulteary/flare/config/data"
FlareModel "github.com/soulteary/flare/internal/model"
)

Expand Down

0 comments on commit 5b9c637

Please sign in to comment.